square_api_client/models/
retrieve_gift_card_from_nonce_request.rs

1//! Request body struct for the Retrieve Gift Card From Nonce API
2
3use serde::Serialize;
4
5/// This is a model struct for RetrieveGiftCardFromNonceRequest type
6#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
7pub struct RetrieveGiftCardFromNonceRequest {
8    /// The payment token of the gift card to retrieve. Payment tokens are generated by the Web
9    /// Payments SDK or In-App Payments SDK.
10    ///
11    /// Min Length: 1
12    pub nonce: String,
13}