github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/token/CustomerTokenWithContactDetails.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 // CustomerTokenWithContactDetails represents class CustomerTokenWithContactDetails 9 type CustomerTokenWithContactDetails struct { 10 BillingAddress *definitions.Address `json:"billingAddress,omitempty"` 11 CompanyInformation *definitions.CompanyInformation `json:"companyInformation,omitempty"` 12 ContactDetails *ContactDetailsToken `json:"contactDetails,omitempty"` 13 MerchantCustomerID *string `json:"merchantCustomerId,omitempty"` 14 PersonalInformation *PersonalInformationToken `json:"personalInformation,omitempty"` 15 // Deprecated: Use companyInformation.vatNumber instead 16 VatNumber *string `json:"vatNumber,omitempty"` 17 } 18 19 // NewCustomerTokenWithContactDetails constructs a new CustomerTokenWithContactDetails 20 func NewCustomerTokenWithContactDetails() *CustomerTokenWithContactDetails { 21 return &CustomerTokenWithContactDetails{} 22 }