github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payment/Shipping.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  // Shipping represents class Shipping
     7  type Shipping struct {
     8  	Address          *AddressPersonal `json:"address,omitempty"`
     9  	AddressIndicator *string          `json:"addressIndicator,omitempty"`
    10  	Comments         *string          `json:"comments,omitempty"`
    11  	EmailAddress     *string          `json:"emailAddress,omitempty"`
    12  	FirstUsageDate   *string          `json:"firstUsageDate,omitempty"`
    13  	IsFirstUsage     *bool            `json:"isFirstUsage,omitempty"`
    14  	TrackingNumber   *string          `json:"trackingNumber,omitempty"`
    15  	Type             *string          `json:"type,omitempty"`
    16  }
    17  
    18  // NewShipping constructs a new Shipping
    19  func NewShipping() *Shipping {
    20  	return &Shipping{}
    21  }