square_api_client/models/
retrieve_gift_card_from_gan_request.rs

1//! Request body struct for the Retrieve Gift Card From GAN API
2
3use serde::Serialize;
4
5/// This is a model struct for RetrieveGiftCardFromGANRequest type
6#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
7pub struct RetrieveGiftCardFromGANRequest {
8    /// The gift card account number (GAN) of the gift card to retrieve. The maximum length of a GAN
9    /// is 255 digits to account for third-party GANs that have been imported. Square-issued gift
10    /// cards have 16-digit GANs.
11    ///
12    /// Min Length: 1, Max Length: 255
13    pub gan: String,
14}