github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/token/Debtor.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  // Debtor represents class Debtor
     7  type Debtor struct {
     8  	AdditionalAddressInfo *string `json:"additionalAddressInfo,omitempty"`
     9  	City                  *string `json:"city,omitempty"`
    10  	CountryCode           *string `json:"countryCode,omitempty"`
    11  	FirstName             *string `json:"firstName,omitempty"`
    12  	HouseNumber           *string `json:"houseNumber,omitempty"`
    13  	State                 *string `json:"state,omitempty"`
    14  	StateCode             *string `json:"stateCode,omitempty"`
    15  	Street                *string `json:"street,omitempty"`
    16  	Surname               *string `json:"surname,omitempty"`
    17  	SurnamePrefix         *string `json:"surnamePrefix,omitempty"`
    18  	Zip                   *string `json:"zip,omitempty"`
    19  }
    20  
    21  // NewDebtor constructs a new Debtor
    22  func NewDebtor() *Debtor {
    23  	return &Debtor{}
    24  }