github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payment/GiftCardPurchase.go (about)

     1  // This class was auto-generated from the API references found at
     2  // https://epayments-api.developer-ingenico.com/
     3  
     4  package payment
     5  
     6  import "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions"
     7  
     8  // GiftCardPurchase represents class GiftCardPurchase
     9  type GiftCardPurchase struct {
    10  	AmountOfMoney     *definitions.AmountOfMoney `json:"amountOfMoney,omitempty"`
    11  	NumberOfGiftCards *int32                     `json:"numberOfGiftCards,omitempty"`
    12  }
    13  
    14  // NewGiftCardPurchase constructs a new GiftCardPurchase
    15  func NewGiftCardPurchase() *GiftCardPurchase {
    16  	return &GiftCardPurchase{}
    17  }