github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/riskassessments/CustomerRiskAssessment.go (about) 1 // This class was auto-generated from the API references found at 2 // https://epayments-api.developer-ingenico.com/ 3 4 package riskassessments 5 6 import ( 7 "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions" 8 "github.com/Ingenico-ePayments/connect-sdk-go/domain/payment" 9 ) 10 11 // CustomerRiskAssessment represents class CustomerRiskAssessment 12 type CustomerRiskAssessment struct { 13 Account *CustomerAccountRiskAssessment `json:"account,omitempty"` 14 AccountType *string `json:"accountType,omitempty"` 15 BillingAddress *definitions.Address `json:"billingAddress,omitempty"` 16 ContactDetails *ContactDetailsRiskAssessment `json:"contactDetails,omitempty"` 17 Device *CustomerDeviceRiskAssessment `json:"device,omitempty"` 18 IsPreviousCustomer *bool `json:"isPreviousCustomer,omitempty"` 19 Locale *string `json:"locale,omitempty"` 20 PersonalInformation *PersonalInformationRiskAssessment `json:"personalInformation,omitempty"` 21 // Deprecated: Use Order.shipping.address instead 22 ShippingAddress *payment.AddressPersonal `json:"shippingAddress,omitempty"` 23 } 24 25 // NewCustomerRiskAssessment constructs a new CustomerRiskAssessment 26 func NewCustomerRiskAssessment() *CustomerRiskAssessment { 27 return &CustomerRiskAssessment{} 28 }