1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! Model for GiftCardGANSource enum
use serde::{Deserialize, Serialize};
/// Indicates the source that generated the gift card account number (GAN).
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum GiftCardGANSource {
/// The GAN is generated by Square.
Square,
/// The GAN is provided by a non-Square system. For more information, see [Custom
/// GANs](https://developer.squareup.com/docs/gift-cards/using-gift-cards-api#custom-gans) or
/// [Third-party gift cards](https://developer.squareup.com/docs/gift-cards/using-gift-cards-api#third-party-gift-cards).
Other,
}