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