github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/token/CustomerToken.go (about) 1 // This class was auto-generated from the API references found at 2 // https://epayments-api.developer-ingenico.com/ 3 4 package token 5 6 import "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions" 7 8 // CustomerToken represents class CustomerToken 9 type CustomerToken struct { 10 BillingAddress *definitions.Address `json:"billingAddress,omitempty"` 11 CompanyInformation *definitions.CompanyInformation `json:"companyInformation,omitempty"` 12 MerchantCustomerID *string `json:"merchantCustomerId,omitempty"` 13 PersonalInformation *PersonalInformationToken `json:"personalInformation,omitempty"` 14 // Deprecated: Use companyInformation.vatNumber instead 15 VatNumber *string `json:"vatNumber,omitempty"` 16 } 17 18 // NewCustomerToken constructs a new CustomerToken 19 func NewCustomerToken() *CustomerToken { 20 return &CustomerToken{} 21 }