github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payment/StatusOutput.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 import ( 7 "github.com/Ingenico-ePayments/connect-sdk-go/domain/definitions" 8 "github.com/Ingenico-ePayments/connect-sdk-go/domain/errors" 9 ) 10 11 // StatusOutput represents class PaymentStatusOutput 12 type StatusOutput struct { 13 Errors *[]errors.APIError `json:"errors,omitempty"` 14 IsAuthorized *bool `json:"isAuthorized,omitempty"` 15 IsCancellable *bool `json:"isCancellable,omitempty"` 16 IsRefundable *bool `json:"isRefundable,omitempty"` 17 IsRetriable *bool `json:"isRetriable,omitempty"` 18 ProviderRawOutput *[]definitions.KeyValuePair `json:"providerRawOutput,omitempty"` 19 StatusCategory *string `json:"statusCategory,omitempty"` 20 StatusCode *int32 `json:"statusCode,omitempty"` 21 StatusCodeChangeDateTime *string `json:"statusCodeChangeDateTime,omitempty"` 22 ThreeDSecureStatus *string `json:"threeDSecureStatus,omitempty"` 23 } 24 25 // NewStatusOutput constructs a new StatusOutput 26 func NewStatusOutput() *StatusOutput { 27 return &StatusOutput{} 28 }