Documentation
¶
Overview ¶
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
Index ¶
- Variables
- func DetectConflictingProperties[T any](dstMap map[string]T, structProperties ...string) error
- func ExtractAdditionalProperties[T any](input []byte, keysToRemove ...string) (map[string]T, error)
- func MergeAdditionalProperties[T any](destinationMap map[string]any, sourceMap map[string]T)
- func ToPointer[T any](value T) *T
- type AmountData
- type ApiErrorModel
- type ApiResponse
- type AprData
- type AuthorizationStatusEnum
- type AuthorizeAuthorizationData
- type AuthorizeRequest
- type AuthorizeResponse
- type BillingAddressData
- type CardDetails
- type CardValidityRequest
- type CardValidityResponse
- type CheckoutUrlData
- type ContentSegment
- type ExternalProviderTypesEnum
- type FileWrapper
- type InlineContent
- type InstallmentItem
- type InstallmentPlanDetailsResponse
- type InstallmentPlanSearchDetailsResponse
- type InstallmentPlanSearchRequest
- type InstallmentPlanStatusEnum
- type InstallmentStatusEnum
- type MaskedCardDetails
- type MetadataItem
- type OAuthProviderErrorEnum
- type OAuthScopeOAuth2Enum
- type OAuthToken
- type OfferItem
- type OffersBillingAddress
- type OffersCardDetails
- type OffersMerchantDetails
- type OffersPaymentMethod
- type OffersPaymentMethodResponse
- type OffersRequest
- type OffersResponse
- type OffersShopperDetails
- type OffersStoreLocation
- type Optional
- type PaymentLinkRequest
- type PaymentLinkResponse
- type PaymentMethod
- type PaymentMethodData
- type PaymentMethodTypeEnum
- type PisErrorCodesEnum
- type PlanAuthorizationData
- type PlanLinksData
- type PlanStatusEnum
- type ProcessingData
- type PurchaseMethodEnum
- type RedirectUrls
- type RefundItem
- type RefundRequest
- type RefundResponse
- type ShippingStatusEnum
- type ShopperDetailsData
- type ThreeDSAuthenticationData
- type ThreeDSExecute
- type ThreeDSRedirectData
- type ThreeDSRequestData
- type UpdateOffersPaymentMethod
- type UpdateOffersRequest
- type UpdateOrderRequest
- type UpdateOrderResponse
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
var DEFAULT_DATE = utilities.DEFAULT_DATE
DEFAULT_DATE is a utility.
var ExtractTimeTypeAdditionalProperties = utilities.ExtractTimeTypeAdditionalProperties
ExtractTimeTypeAdditionalProperties is a utility.
var GetFile = https.GetFile
GetFile retrieves a file from the given filePath and returns it as a FileWrapper. It makes an HTTP GET request to the filePath to fetch the file's content and metadata. OR It uses os.ReadFile to read the file's content and metadata.
var GetFileWithContentType = https.GetFileWithContentType
GetFileWithContentType retrieves a file from the given filePath using GetFile and returns it as a FileWrapper. It also sets the provided "content-type" in the file headers.
var MergeTimeTypeAdditionalProperties = utilities.MergeTimeTypeAdditionalProperties
MergeTimeTypeAdditionalProperties is a utility.
var TimeToStringMap = utilities.TimeToStringMap
TimeToStringMap is a utility.
var TimeToStringSlice = utilities.TimeToStringSlice
TimeToStringSlice is a utility.
var ToTimeMap = utilities.ToTimeMap
ToTimeMap is a utility.
var ToTimeSlice = utilities.ToTimeSlice
ToTimeSlice is a utility.
Functions ¶
func DetectConflictingProperties ¶
DetectConflictingProperties is a utility function.
func ExtractAdditionalProperties ¶
func ExtractAdditionalProperties[T any]( input []byte, keysToRemove ...string) ( map[string]T, error)
ExtractAdditionalProperties is a utility function.
func MergeAdditionalProperties ¶
MergeAdditionalProperties is a utility function.
Types ¶
type AmountData ¶
type AmountData struct {
Value float64 `json:"Value"`
Symbol *string `json:"Symbol,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AmountData represents a AmountData struct.
func (AmountData) MarshalJSON ¶
func (a AmountData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AmountData. It customizes the JSON marshaling process for AmountData objects.
func (AmountData) String ¶
func (a AmountData) String() string
String implements the fmt.Stringer interface for AmountData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AmountData) UnmarshalJSON ¶
func (a *AmountData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AmountData. It customizes the JSON unmarshaling process for AmountData objects.
type ApiErrorModel ¶
type ApiErrorModel struct {
Code *string `json:"Code,omitempty"`
Message *string `json:"Message,omitempty"`
AdditionalInfo *string `json:"AdditionalInfo,omitempty"`
ExtraData map[string]string `json:"ExtraData,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ApiErrorModel represents a ApiErrorModel struct.
func (ApiErrorModel) MarshalJSON ¶
func (a ApiErrorModel) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ApiErrorModel. It customizes the JSON marshaling process for ApiErrorModel objects.
func (ApiErrorModel) String ¶
func (a ApiErrorModel) String() string
String implements the fmt.Stringer interface for ApiErrorModel, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ApiErrorModel) UnmarshalJSON ¶
func (a *ApiErrorModel) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ApiErrorModel. It customizes the JSON unmarshaling process for ApiErrorModel objects.
type ApiResponse ¶
type ApiResponse[T any] struct { https.ApiResponse[T] }
ApiResponse is a generic struct that represents an API response containing data and the HTTP response. The `Data` field holds the data of any type `T` returned by the API. The `Response` field contains the underlying HTTP response associated with the API call.
func NewApiResponse ¶
func NewApiResponse[T any]( data T, response *http.Response) ApiResponse[T]
NewApiResponse creates a new instance of ApiResponse. It takes the `data` of type `T` and the `response` as parameters, and returns an ApiResponse[T] struct.
type AprData ¶
type AprData struct {
Value float64 `json:"Value"`
Symbol *string `json:"Symbol,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AprData represents a AprData struct.
func (AprData) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AprData. It customizes the JSON marshaling process for AprData objects.
func (AprData) String ¶
String implements the fmt.Stringer interface for AprData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AprData) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AprData. It customizes the JSON unmarshaling process for AprData objects.
type AuthorizationStatusEnum ¶
type AuthorizationStatusEnum string
AuthorizationStatusEnum is a string enum.
const ( AuthorizationStatusEnum_SUCCEEDED AuthorizationStatusEnum = "Succeeded" AuthorizationStatusEnum_PENDING3DS AuthorizationStatusEnum = "Pending3DS" AuthorizationStatusEnum_FAILED AuthorizationStatusEnum = "Failed" )
func (AuthorizationStatusEnum) MarshalJSON ¶
func (e AuthorizationStatusEnum) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AuthorizationStatusEnum. It customizes the JSON marshaling process for AuthorizationStatusEnum objects.
func (*AuthorizationStatusEnum) UnmarshalJSON ¶
func (e *AuthorizationStatusEnum) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AuthorizationStatusEnum. It customizes the JSON unmarshaling process for AuthorizationStatusEnum objects.
type AuthorizeAuthorizationData ¶
type AuthorizeAuthorizationData struct {
Status AuthorizationStatusEnum `json:"Status"`
SplititErrorResultCode *string `json:"SplititErrorResultCode,omitempty"`
GatewayTransactionID *string `json:"GatewayTransactionID,omitempty"`
GatewayResultCode *string `json:"GatewayResultCode,omitempty"`
GatewayResultMessage *string `json:"GatewayResultMessage,omitempty"`
ThreeDSRedirect *ThreeDSRedirectData `json:"ThreeDSRedirect,omitempty"`
CAVV *string `json:"CAVV,omitempty"`
ECI *string `json:"ECI,omitempty"`
GatewaySourceResponse *string `json:"GatewaySourceResponse,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AuthorizeAuthorizationData represents a AuthorizeAuthorizationData struct.
func (AuthorizeAuthorizationData) MarshalJSON ¶
func (a AuthorizeAuthorizationData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AuthorizeAuthorizationData. It customizes the JSON marshaling process for AuthorizeAuthorizationData objects.
func (AuthorizeAuthorizationData) String ¶
func (a AuthorizeAuthorizationData) String() string
String implements the fmt.Stringer interface for AuthorizeAuthorizationData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AuthorizeAuthorizationData) UnmarshalJSON ¶
func (a *AuthorizeAuthorizationData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AuthorizeAuthorizationData. It customizes the JSON unmarshaling process for AuthorizeAuthorizationData objects.
type AuthorizeRequest ¶
type AuthorizeRequest struct {
OfferId string `json:"OfferId"`
AutoCapture bool `json:"AutoCapture"`
ShopperAcceptedTerms bool `json:"ShopperAcceptedTerms"`
MerchantOrderReference *string `json:"MerchantOrderReference,omitempty"`
ThreeDS *ThreeDSRequestData `json:"ThreeDS,omitempty"`
ProcessingData *ProcessingData `json:"ProcessingData,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AuthorizeRequest represents a AuthorizeRequest struct.
func (AuthorizeRequest) MarshalJSON ¶
func (a AuthorizeRequest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AuthorizeRequest. It customizes the JSON marshaling process for AuthorizeRequest objects.
func (AuthorizeRequest) String ¶
func (a AuthorizeRequest) String() string
String implements the fmt.Stringer interface for AuthorizeRequest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AuthorizeRequest) UnmarshalJSON ¶
func (a *AuthorizeRequest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AuthorizeRequest. It customizes the JSON unmarshaling process for AuthorizeRequest objects.
type AuthorizeResponse ¶
type AuthorizeResponse struct {
DateCreated time.Time `json:"DateCreated"`
PlanStatus InstallmentPlanStatusEnum `json:"PlanStatus"`
InstallmentPlanNumber *string `json:"InstallmentPlanNumber,omitempty"`
MerchantOrderReference *string `json:"MerchantOrderReference,omitempty"`
PurchaseMethod PurchaseMethodEnum `json:"PurchaseMethod"`
Currency *string `json:"Currency,omitempty"`
PurchaseAmount float64 `json:"PurchaseAmount"`
TotalFees float64 `json:"TotalFees"`
TotalAmount float64 `json:"TotalAmount"`
Apr *AprData `json:"Apr,omitempty"`
Authorization *AuthorizeAuthorizationData `json:"Authorization,omitempty"`
PaymentMethod *PaymentMethodData `json:"PaymentMethod,omitempty"`
Installments []InstallmentItem `json:"Installments,omitempty"`
Metadata []MetadataItem `json:"Metadata,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
AuthorizeResponse represents a AuthorizeResponse struct.
func (AuthorizeResponse) MarshalJSON ¶
func (a AuthorizeResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for AuthorizeResponse. It customizes the JSON marshaling process for AuthorizeResponse objects.
func (AuthorizeResponse) String ¶
func (a AuthorizeResponse) String() string
String implements the fmt.Stringer interface for AuthorizeResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*AuthorizeResponse) UnmarshalJSON ¶
func (a *AuthorizeResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AuthorizeResponse. It customizes the JSON unmarshaling process for AuthorizeResponse objects.
type BillingAddressData ¶
type BillingAddressData struct {
Line1 *string `json:"Line1,omitempty"`
Line2 *string `json:"Line2,omitempty"`
City *string `json:"City,omitempty"`
State *string `json:"State,omitempty"`
PostalCode *string `json:"PostalCode,omitempty"`
Country *string `json:"Country,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
BillingAddressData represents a BillingAddressData struct.
func (BillingAddressData) MarshalJSON ¶
func (b BillingAddressData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for BillingAddressData. It customizes the JSON marshaling process for BillingAddressData objects.
func (BillingAddressData) String ¶
func (b BillingAddressData) String() string
String implements the fmt.Stringer interface for BillingAddressData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*BillingAddressData) UnmarshalJSON ¶
func (b *BillingAddressData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for BillingAddressData. It customizes the JSON unmarshaling process for BillingAddressData objects.
type CardDetails ¶
type CardDetails struct {
FirstName *string `json:"FirstName,omitempty"`
LastName *string `json:"LastName,omitempty"`
CardNumber string `json:"CardNumber"`
ExpYear string `json:"ExpYear"`
ExpMonth string `json:"ExpMonth"`
Cvv *string `json:"Cvv,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CardDetails represents a CardDetails struct.
func (CardDetails) MarshalJSON ¶
func (c CardDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CardDetails. It customizes the JSON marshaling process for CardDetails objects.
func (CardDetails) String ¶
func (c CardDetails) String() string
String implements the fmt.Stringer interface for CardDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CardDetails) UnmarshalJSON ¶
func (c *CardDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CardDetails. It customizes the JSON unmarshaling process for CardDetails objects.
type CardValidityRequest ¶
type CardValidityRequest struct {
PaymentMethod *PaymentMethod `json:"PaymentMethod,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CardValidityRequest represents a CardValidityRequest struct.
func (CardValidityRequest) MarshalJSON ¶
func (c CardValidityRequest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CardValidityRequest. It customizes the JSON marshaling process for CardValidityRequest objects.
func (CardValidityRequest) String ¶
func (c CardValidityRequest) String() string
String implements the fmt.Stringer interface for CardValidityRequest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CardValidityRequest) UnmarshalJSON ¶
func (c *CardValidityRequest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CardValidityRequest. It customizes the JSON unmarshaling process for CardValidityRequest objects.
type CardValidityResponse ¶
type CardValidityResponse struct {
Result bool `json:"Result"`
ValidationErrors []ValidationError `json:"ValidationErrors,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CardValidityResponse represents a CardValidityResponse struct.
func (CardValidityResponse) MarshalJSON ¶
func (c CardValidityResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CardValidityResponse. It customizes the JSON marshaling process for CardValidityResponse objects.
func (CardValidityResponse) String ¶
func (c CardValidityResponse) String() string
String implements the fmt.Stringer interface for CardValidityResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CardValidityResponse) UnmarshalJSON ¶
func (c *CardValidityResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CardValidityResponse. It customizes the JSON unmarshaling process for CardValidityResponse objects.
type CheckoutUrlData ¶
type CheckoutUrlData struct {
Url *string `json:"Url,omitempty"`
ValidUntil *time.Time `json:"ValidUntil,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
CheckoutUrlData represents a CheckoutUrlData struct.
func (CheckoutUrlData) MarshalJSON ¶
func (c CheckoutUrlData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for CheckoutUrlData. It customizes the JSON marshaling process for CheckoutUrlData objects.
func (CheckoutUrlData) String ¶
func (c CheckoutUrlData) String() string
String implements the fmt.Stringer interface for CheckoutUrlData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*CheckoutUrlData) UnmarshalJSON ¶
func (c *CheckoutUrlData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CheckoutUrlData. It customizes the JSON unmarshaling process for CheckoutUrlData objects.
type ContentSegment ¶
type ContentSegment struct {
Type *string `json:"Type,omitempty"`
Value *string `json:"Value,omitempty"`
Label *string `json:"Label,omitempty"`
Url *string `json:"Url,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ContentSegment represents a ContentSegment struct.
func (ContentSegment) MarshalJSON ¶
func (c ContentSegment) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ContentSegment. It customizes the JSON marshaling process for ContentSegment objects.
func (ContentSegment) String ¶
func (c ContentSegment) String() string
String implements the fmt.Stringer interface for ContentSegment, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ContentSegment) UnmarshalJSON ¶
func (c *ContentSegment) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ContentSegment. It customizes the JSON unmarshaling process for ContentSegment objects.
type ExternalProviderTypesEnum ¶
type ExternalProviderTypesEnum string
ExternalProviderTypesEnum is a string enum.
const ( ExternalProviderTypesEnum_MOCK ExternalProviderTypesEnum = "Mock" ExternalProviderTypesEnum_VISA ExternalProviderTypesEnum = "Visa" ExternalProviderTypesEnum_SPLITIT ExternalProviderTypesEnum = "Splitit" ExternalProviderTypesEnum_WORLDPAY ExternalProviderTypesEnum = "WorldPay" ExternalProviderTypesEnum_MASTERCARD ExternalProviderTypesEnum = "Mastercard" )
func (ExternalProviderTypesEnum) MarshalJSON ¶
func (e ExternalProviderTypesEnum) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ExternalProviderTypesEnum. It customizes the JSON marshaling process for ExternalProviderTypesEnum objects.
func (*ExternalProviderTypesEnum) UnmarshalJSON ¶
func (e *ExternalProviderTypesEnum) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExternalProviderTypesEnum. It customizes the JSON unmarshaling process for ExternalProviderTypesEnum objects.
type FileWrapper ¶
type FileWrapper = https.FileWrapper
FileWrapper is a struct that represents a file along with its metadata such as the file content, file name, and file headers.
type InlineContent ¶
type InlineContent struct {
Segments []ContentSegment `json:"Segments,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InlineContent represents a InlineContent struct.
func (InlineContent) MarshalJSON ¶
func (i InlineContent) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InlineContent. It customizes the JSON marshaling process for InlineContent objects.
func (InlineContent) String ¶
func (i InlineContent) String() string
String implements the fmt.Stringer interface for InlineContent, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InlineContent) UnmarshalJSON ¶
func (i *InlineContent) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InlineContent. It customizes the JSON unmarshaling process for InlineContent objects.
type InstallmentItem ¶
type InstallmentItem struct {
InstallmentNumber int `json:"InstallmentNumber"`
Amount *AmountData `json:"Amount,omitempty"`
Status InstallmentStatusEnum `json:"Status"`
ProcessDateTime *time.Time `json:"ProcessDateTime,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InstallmentItem represents a InstallmentItem struct.
func (InstallmentItem) MarshalJSON ¶
func (i InstallmentItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallmentItem. It customizes the JSON marshaling process for InstallmentItem objects.
func (InstallmentItem) String ¶
func (i InstallmentItem) String() string
String implements the fmt.Stringer interface for InstallmentItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InstallmentItem) UnmarshalJSON ¶
func (i *InstallmentItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallmentItem. It customizes the JSON unmarshaling process for InstallmentItem objects.
type InstallmentPlanDetailsResponse ¶
type InstallmentPlanDetailsResponse struct {
DateCreated time.Time `json:"DateCreated"`
Status InstallmentPlanStatusEnum `json:"Status"`
InstallmentPlanNumber *string `json:"InstallmentPlanNumber,omitempty"`
MerchantOrderReference *string `json:"MerchantOrderReference,omitempty"`
InstallmentProvider ExternalProviderTypesEnum `json:"InstallmentProvider"`
PurchaseMethod PurchaseMethodEnum `json:"PurchaseMethod"`
Currency *string `json:"Currency,omitempty"`
PurchaseAmount float64 `json:"PurchaseAmount"`
TotalAmount float64 `json:"TotalAmount"`
TotalFees float64 `json:"TotalFees"`
Apr *AprData `json:"Apr,omitempty"`
Authorization *PlanAuthorizationData `json:"Authorization,omitempty"`
ShopperDetails *ShopperDetailsData `json:"ShopperDetails,omitempty"`
PaymentMethod *PaymentMethodData `json:"PaymentMethod,omitempty"`
Installments []InstallmentItem `json:"Installments,omitempty"`
Refunds []RefundItem `json:"Refunds,omitempty"`
Links []PlanLinksData `json:"Links,omitempty"`
Metadata []MetadataItem `json:"Metadata,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InstallmentPlanDetailsResponse represents a InstallmentPlanDetailsResponse struct.
func (InstallmentPlanDetailsResponse) MarshalJSON ¶
func (i InstallmentPlanDetailsResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallmentPlanDetailsResponse. It customizes the JSON marshaling process for InstallmentPlanDetailsResponse objects.
func (InstallmentPlanDetailsResponse) String ¶
func (i InstallmentPlanDetailsResponse) String() string
String implements the fmt.Stringer interface for InstallmentPlanDetailsResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InstallmentPlanDetailsResponse) UnmarshalJSON ¶
func (i *InstallmentPlanDetailsResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallmentPlanDetailsResponse. It customizes the JSON unmarshaling process for InstallmentPlanDetailsResponse objects.
type InstallmentPlanSearchDetailsResponse ¶
type InstallmentPlanSearchDetailsResponse struct {
PlanList []InstallmentPlanDetailsResponse `json:"PlanList,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InstallmentPlanSearchDetailsResponse represents a InstallmentPlanSearchDetailsResponse struct.
func (InstallmentPlanSearchDetailsResponse) MarshalJSON ¶
func (i InstallmentPlanSearchDetailsResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallmentPlanSearchDetailsResponse. It customizes the JSON marshaling process for InstallmentPlanSearchDetailsResponse objects.
func (InstallmentPlanSearchDetailsResponse) String ¶
func (i InstallmentPlanSearchDetailsResponse) String() string
String implements the fmt.Stringer interface for InstallmentPlanSearchDetailsResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InstallmentPlanSearchDetailsResponse) UnmarshalJSON ¶
func (i *InstallmentPlanSearchDetailsResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallmentPlanSearchDetailsResponse. It customizes the JSON unmarshaling process for InstallmentPlanSearchDetailsResponse objects.
type InstallmentPlanSearchRequest ¶
type InstallmentPlanSearchRequest struct {
InstallmentPlanNumbers []string `json:"InstallmentPlanNumbers,omitempty"`
MerchantOrderReferenceIds []string `json:"MerchantOrderReferenceIds,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
InstallmentPlanSearchRequest represents a InstallmentPlanSearchRequest struct.
func (InstallmentPlanSearchRequest) MarshalJSON ¶
func (i InstallmentPlanSearchRequest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallmentPlanSearchRequest. It customizes the JSON marshaling process for InstallmentPlanSearchRequest objects.
func (InstallmentPlanSearchRequest) String ¶
func (i InstallmentPlanSearchRequest) String() string
String implements the fmt.Stringer interface for InstallmentPlanSearchRequest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*InstallmentPlanSearchRequest) UnmarshalJSON ¶
func (i *InstallmentPlanSearchRequest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallmentPlanSearchRequest. It customizes the JSON unmarshaling process for InstallmentPlanSearchRequest objects.
type InstallmentPlanStatusEnum ¶
type InstallmentPlanStatusEnum string
InstallmentPlanStatusEnum is a string enum.
const ( InstallmentPlanStatusEnum_NONE InstallmentPlanStatusEnum = "None" InstallmentPlanStatusEnum_PENDINGAPPROVAL InstallmentPlanStatusEnum = "PendingApproval" InstallmentPlanStatusEnum_PENDINGMERCHANTSHIPMENTNOTICE InstallmentPlanStatusEnum = "PendingMerchantShipmentNotice" InstallmentPlanStatusEnum_INPROGRESS InstallmentPlanStatusEnum = "InProgress" InstallmentPlanStatusEnum_DELETED InstallmentPlanStatusEnum = "Deleted" InstallmentPlanStatusEnum_CLEARED InstallmentPlanStatusEnum = "Cleared" InstallmentPlanStatusEnum_PENDINGPAYMENTUPDATE InstallmentPlanStatusEnum = "PendingPaymentUpdate" InstallmentPlanStatusEnum_CANCELED InstallmentPlanStatusEnum = "Canceled" InstallmentPlanStatusEnum_DELAYED InstallmentPlanStatusEnum = "Delayed" InstallmentPlanStatusEnum_INITIALIZING InstallmentPlanStatusEnum = "Initializing" InstallmentPlanStatusEnum_ALLSTATUSES InstallmentPlanStatusEnum = "AllStatuses" )
func (InstallmentPlanStatusEnum) MarshalJSON ¶
func (e InstallmentPlanStatusEnum) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallmentPlanStatusEnum. It customizes the JSON marshaling process for InstallmentPlanStatusEnum objects.
func (*InstallmentPlanStatusEnum) UnmarshalJSON ¶
func (e *InstallmentPlanStatusEnum) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallmentPlanStatusEnum. It customizes the JSON unmarshaling process for InstallmentPlanStatusEnum objects.
type InstallmentStatusEnum ¶
type InstallmentStatusEnum string
InstallmentStatusEnum is a string enum.
const ( InstallmentStatusEnum_NONE InstallmentStatusEnum = "None" InstallmentStatusEnum_WAITINGFORPROCESSDATE InstallmentStatusEnum = "WaitingForProcessDate" InstallmentStatusEnum_FINISHED InstallmentStatusEnum = "Finished" InstallmentStatusEnum_DELETED InstallmentStatusEnum = "Deleted" InstallmentStatusEnum_STOPPED InstallmentStatusEnum = "Stopped" InstallmentStatusEnum_CANCELED InstallmentStatusEnum = "Canceled" InstallmentStatusEnum_AWAITINGCAPTURE InstallmentStatusEnum = "AwaitingCapture" InstallmentStatusEnum_AWAITINGVOID InstallmentStatusEnum = "AwaitingVoid" )
func (InstallmentStatusEnum) MarshalJSON ¶
func (e InstallmentStatusEnum) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for InstallmentStatusEnum. It customizes the JSON marshaling process for InstallmentStatusEnum objects.
func (*InstallmentStatusEnum) UnmarshalJSON ¶
func (e *InstallmentStatusEnum) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for InstallmentStatusEnum. It customizes the JSON unmarshaling process for InstallmentStatusEnum objects.
type MaskedCardDetails ¶
type MaskedCardDetails struct {
Last4Digits *string `json:"Last4Digits,omitempty"`
BIN *string `json:"BIN,omitempty"`
IssuerName *string `json:"IssuerName,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MaskedCardDetails represents a MaskedCardDetails struct.
func (MaskedCardDetails) MarshalJSON ¶
func (m MaskedCardDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MaskedCardDetails. It customizes the JSON marshaling process for MaskedCardDetails objects.
func (MaskedCardDetails) String ¶
func (m MaskedCardDetails) String() string
String implements the fmt.Stringer interface for MaskedCardDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MaskedCardDetails) UnmarshalJSON ¶
func (m *MaskedCardDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MaskedCardDetails. It customizes the JSON unmarshaling process for MaskedCardDetails objects.
type MetadataItem ¶
type MetadataItem struct {
Key *string `json:"Key,omitempty"`
Value *string `json:"Value,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
MetadataItem represents a MetadataItem struct.
func (MetadataItem) MarshalJSON ¶
func (m MetadataItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for MetadataItem. It customizes the JSON marshaling process for MetadataItem objects.
func (MetadataItem) String ¶
func (m MetadataItem) String() string
String implements the fmt.Stringer interface for MetadataItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*MetadataItem) UnmarshalJSON ¶
func (m *MetadataItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MetadataItem. It customizes the JSON unmarshaling process for MetadataItem objects.
type OAuthProviderErrorEnum ¶
type OAuthProviderErrorEnum string
OAuthProviderErrorEnum is a string enum. OAuth 2 Authorization error codes
const ( OAuthProviderErrorEnum_INVALIDREQUEST OAuthProviderErrorEnum = "invalid_request" OAuthProviderErrorEnum_INVALIDCLIENT OAuthProviderErrorEnum = "invalid_client" OAuthProviderErrorEnum_INVALIDGRANT OAuthProviderErrorEnum = "invalid_grant" OAuthProviderErrorEnum_UNAUTHORIZEDCLIENT OAuthProviderErrorEnum = "unauthorized_client" OAuthProviderErrorEnum_UNSUPPORTEDGRANTTYPE OAuthProviderErrorEnum = "unsupported_grant_type" OAuthProviderErrorEnum_INVALIDSCOPE OAuthProviderErrorEnum = "invalid_scope" )
func (OAuthProviderErrorEnum) MarshalJSON ¶
func (e OAuthProviderErrorEnum) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OAuthProviderErrorEnum. It customizes the JSON marshaling process for OAuthProviderErrorEnum objects.
func (*OAuthProviderErrorEnum) UnmarshalJSON ¶
func (e *OAuthProviderErrorEnum) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OAuthProviderErrorEnum. It customizes the JSON unmarshaling process for OAuthProviderErrorEnum objects.
type OAuthScopeOAuth2Enum ¶
type OAuthScopeOAuth2Enum string
OAuthScopeOAuth2Enum is a string enum. OAuth 2 scopes supported by the API
const (
OAuthScopeOAuth2Enum_APIV4 OAuthScopeOAuth2Enum = "api.v4"
)
func (OAuthScopeOAuth2Enum) MarshalJSON ¶
func (e OAuthScopeOAuth2Enum) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OAuthScopeOAuth2Enum. It customizes the JSON marshaling process for OAuthScopeOAuth2Enum objects.
func (*OAuthScopeOAuth2Enum) UnmarshalJSON ¶
func (e *OAuthScopeOAuth2Enum) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OAuthScopeOAuth2Enum. It customizes the JSON unmarshaling process for OAuthScopeOAuth2Enum objects.
type OAuthToken ¶
type OAuthToken struct {
// Access token
AccessToken string `json:"access_token"`
// Type of access token
TokenType string `json:"token_type"`
// Time in seconds before the access token expires
ExpiresIn *int64 `json:"expires_in,omitempty"`
// List of scopes granted
// This is a space-delimited list of strings.
Scope *string `json:"scope,omitempty"`
// Time of token expiry as unix timestamp (UTC)
Expiry *int64 `json:"expiry,omitempty"`
// Refresh token
// Used to get a new access token when it expires.
RefreshToken *string `json:"refresh_token,omitempty"`
}
OAuthToken represents a OAuthToken struct. OAuth 2 Authorization endpoint response
func (OAuthToken) MarshalJSON ¶
func (o OAuthToken) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OAuthToken. It customizes the JSON marshaling process for OAuthToken objects.
func (*OAuthToken) UnmarshalJSON ¶
func (o *OAuthToken) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OAuthToken. It customizes the JSON unmarshaling process for OAuthToken objects.
type OfferItem ¶
type OfferItem struct {
OfferId *string `json:"OfferId,omitempty"`
Apr *AprData `json:"Apr,omitempty"`
Currency *string `json:"Currency,omitempty"`
TotalAmount float64 `json:"TotalAmount"`
TotalFees float64 `json:"TotalFees"`
NumberOfInstallments int `json:"NumberOfInstallments"`
Frequency *string `json:"Frequency,omitempty"`
InstallmentAmount float64 `json:"InstallmentAmount"`
FirstInstallmentAmount float64 `json:"FirstInstallmentAmount"`
LastInstallmentAmount *AmountData `json:"LastInstallmentAmount,omitempty"`
InlineContent *InlineContent `json:"InlineContent,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OfferItem represents a OfferItem struct.
func (OfferItem) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for OfferItem. It customizes the JSON marshaling process for OfferItem objects.
func (OfferItem) String ¶
String implements the fmt.Stringer interface for OfferItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OfferItem) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for OfferItem. It customizes the JSON unmarshaling process for OfferItem objects.
type OffersBillingAddress ¶
type OffersBillingAddress struct {
Line1 string `json:"Line1"`
Line2 *string `json:"Line2,omitempty"`
City *string `json:"City,omitempty"`
State *string `json:"State,omitempty"`
PostalCode string `json:"PostalCode"`
Country string `json:"Country"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OffersBillingAddress represents a OffersBillingAddress struct.
func (OffersBillingAddress) MarshalJSON ¶
func (o OffersBillingAddress) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OffersBillingAddress. It customizes the JSON marshaling process for OffersBillingAddress objects.
func (OffersBillingAddress) String ¶
func (o OffersBillingAddress) String() string
String implements the fmt.Stringer interface for OffersBillingAddress, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OffersBillingAddress) UnmarshalJSON ¶
func (o *OffersBillingAddress) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OffersBillingAddress. It customizes the JSON unmarshaling process for OffersBillingAddress objects.
type OffersCardDetails ¶
type OffersCardDetails struct {
FirstName *string `json:"FirstName,omitempty"`
LastName *string `json:"LastName,omitempty"`
CardNumber string `json:"CardNumber"`
ExpMonth int `json:"ExpMonth"`
ExpYear int `json:"ExpYear"`
Cvv *string `json:"Cvv,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OffersCardDetails represents a OffersCardDetails struct.
func (OffersCardDetails) MarshalJSON ¶
func (o OffersCardDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OffersCardDetails. It customizes the JSON marshaling process for OffersCardDetails objects.
func (OffersCardDetails) String ¶
func (o OffersCardDetails) String() string
String implements the fmt.Stringer interface for OffersCardDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OffersCardDetails) UnmarshalJSON ¶
func (o *OffersCardDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OffersCardDetails. It customizes the JSON unmarshaling process for OffersCardDetails objects.
type OffersMerchantDetails ¶
type OffersMerchantDetails struct {
StoreName *string `json:"StoreName,omitempty"`
StoreId *string `json:"StoreId,omitempty"`
StoreLocation OffersStoreLocation `json:"StoreLocation"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OffersMerchantDetails represents a OffersMerchantDetails struct.
func (OffersMerchantDetails) MarshalJSON ¶
func (o OffersMerchantDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OffersMerchantDetails. It customizes the JSON marshaling process for OffersMerchantDetails objects.
func (OffersMerchantDetails) String ¶
func (o OffersMerchantDetails) String() string
String implements the fmt.Stringer interface for OffersMerchantDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OffersMerchantDetails) UnmarshalJSON ¶
func (o *OffersMerchantDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OffersMerchantDetails. It customizes the JSON unmarshaling process for OffersMerchantDetails objects.
type OffersPaymentMethod ¶
type OffersPaymentMethod struct {
Type string `json:"Type"`
CardDetails OffersCardDetails `json:"CardDetails"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OffersPaymentMethod represents a OffersPaymentMethod struct.
func (OffersPaymentMethod) MarshalJSON ¶
func (o OffersPaymentMethod) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OffersPaymentMethod. It customizes the JSON marshaling process for OffersPaymentMethod objects.
func (OffersPaymentMethod) String ¶
func (o OffersPaymentMethod) String() string
String implements the fmt.Stringer interface for OffersPaymentMethod, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OffersPaymentMethod) UnmarshalJSON ¶
func (o *OffersPaymentMethod) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OffersPaymentMethod. It customizes the JSON unmarshaling process for OffersPaymentMethod objects.
type OffersPaymentMethodResponse ¶
type OffersPaymentMethodResponse struct {
Last4Digits *string `json:"Last4Digits,omitempty"`
BIN *string `json:"BIN,omitempty"`
IssuerName *string `json:"IssuerName,omitempty"`
Type string `json:"Type"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OffersPaymentMethodResponse represents a OffersPaymentMethodResponse struct.
func (OffersPaymentMethodResponse) MarshalJSON ¶
func (o OffersPaymentMethodResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OffersPaymentMethodResponse. It customizes the JSON marshaling process for OffersPaymentMethodResponse objects.
func (OffersPaymentMethodResponse) String ¶
func (o OffersPaymentMethodResponse) String() string
String implements the fmt.Stringer interface for OffersPaymentMethodResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OffersPaymentMethodResponse) UnmarshalJSON ¶
func (o *OffersPaymentMethodResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OffersPaymentMethodResponse. It customizes the JSON unmarshaling process for OffersPaymentMethodResponse objects.
type OffersRequest ¶
type OffersRequest struct {
MerchantOrderReference *string `json:"MerchantOrderReference,omitempty"`
PurchaseMethod PurchaseMethodEnum `json:"PurchaseMethod"`
PurchaseAmount string `json:"PurchaseAmount"`
Currency string `json:"Currency"`
ShopperDetails OffersShopperDetails `json:"ShopperDetails"`
PaymentMethod OffersPaymentMethod `json:"PaymentMethod"`
MerchantDetails *OffersMerchantDetails `json:"MerchantDetails,omitempty"`
Metadata []MetadataItem `json:"Metadata,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OffersRequest represents a OffersRequest struct.
func (OffersRequest) MarshalJSON ¶
func (o OffersRequest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OffersRequest. It customizes the JSON marshaling process for OffersRequest objects.
func (OffersRequest) String ¶
func (o OffersRequest) String() string
String implements the fmt.Stringer interface for OffersRequest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OffersRequest) UnmarshalJSON ¶
func (o *OffersRequest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OffersRequest. It customizes the JSON unmarshaling process for OffersRequest objects.
type OffersResponse ¶
type OffersResponse struct {
InstallmentPlanNumber *string `json:"InstallmentPlanNumber,omitempty"`
MerchantOrderReference *string `json:"MerchantOrderReference,omitempty"`
PurchaseMethod PurchaseMethodEnum `json:"PurchaseMethod"`
PurchaseAmount float64 `json:"PurchaseAmount"`
Currency *string `json:"Currency,omitempty"`
PaymentMethod *OffersPaymentMethodResponse `json:"PaymentMethod,omitempty"`
Offers []OfferItem `json:"Offers,omitempty"`
ValidUntil *time.Time `json:"ValidUntil,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OffersResponse represents a OffersResponse struct.
func (OffersResponse) MarshalJSON ¶
func (o OffersResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OffersResponse. It customizes the JSON marshaling process for OffersResponse objects.
func (OffersResponse) String ¶
func (o OffersResponse) String() string
String implements the fmt.Stringer interface for OffersResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OffersResponse) UnmarshalJSON ¶
func (o *OffersResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OffersResponse. It customizes the JSON unmarshaling process for OffersResponse objects.
type OffersShopperDetails ¶
type OffersShopperDetails struct {
FirstName *string `json:"FirstName,omitempty"`
LastName string `json:"LastName"`
Email string `json:"Email"`
PhoneNumber *string `json:"PhoneNumber,omitempty"`
ShopperLocale *string `json:"ShopperLocale,omitempty"`
BillingAddress *OffersBillingAddress `json:"BillingAddress,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OffersShopperDetails represents a OffersShopperDetails struct.
func (OffersShopperDetails) MarshalJSON ¶
func (o OffersShopperDetails) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OffersShopperDetails. It customizes the JSON marshaling process for OffersShopperDetails objects.
func (OffersShopperDetails) String ¶
func (o OffersShopperDetails) String() string
String implements the fmt.Stringer interface for OffersShopperDetails, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OffersShopperDetails) UnmarshalJSON ¶
func (o *OffersShopperDetails) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OffersShopperDetails. It customizes the JSON unmarshaling process for OffersShopperDetails objects.
type OffersStoreLocation ¶
type OffersStoreLocation struct {
Line1 string `json:"Line1"`
Line2 *string `json:"Line2,omitempty"`
City *string `json:"City,omitempty"`
State *string `json:"State,omitempty"`
PostalCode string `json:"PostalCode"`
Country string `json:"Country"`
AdditionalProperties map[string]interface{} `json:"_"`
}
OffersStoreLocation represents a OffersStoreLocation struct.
func (OffersStoreLocation) MarshalJSON ¶
func (o OffersStoreLocation) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for OffersStoreLocation. It customizes the JSON marshaling process for OffersStoreLocation objects.
func (OffersStoreLocation) String ¶
func (o OffersStoreLocation) String() string
String implements the fmt.Stringer interface for OffersStoreLocation, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*OffersStoreLocation) UnmarshalJSON ¶
func (o *OffersStoreLocation) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for OffersStoreLocation. It customizes the JSON unmarshaling process for OffersStoreLocation objects.
type Optional ¶
Optional is a generic struct that allows any type to be used as optional and nullable. Optional.set is true when Optional.value is to be used.
func EmptyOptional ¶
EmptyOptional creates and returns an Optional instance with empty value.
func NewOptional ¶
NewOptional creates and returns an Optional instance with the given value set.
func (*Optional[T]) IsValueSet ¶
IsValueSet returns true if a value is set in the Optional, false otherwise.
func (*Optional[T]) SetValue ¶
func (o *Optional[T]) SetValue(value *T)
SetValue sets the value of the Optional.
func (*Optional[T]) ShouldSetValue ¶
ShouldSetValue sets whether the value should be used or not.
type PaymentLinkRequest ¶
type PaymentLinkRequest struct {
Amount string `json:"Amount"`
Currency string `json:"Currency"`
AutoCapture *bool `json:"AutoCapture,omitempty"`
MerchantOrderReference *string `json:"MerchantOrderReference,omitempty"`
PurchaseMethod PurchaseMethodEnum `json:"PurchaseMethod"`
ShopperDetails OffersShopperDetails `json:"ShopperDetails"`
MerchantDetails *OffersMerchantDetails `json:"MerchantDetails,omitempty"`
CheckoutUrlValidity *time.Time `json:"CheckoutUrlValidity,omitempty"`
Metadata []MetadataItem `json:"Metadata,omitempty"`
RedirectUrls *RedirectUrls `json:"RedirectUrls,omitempty"`
ProcessingData *ProcessingData `json:"ProcessingData,omitempty"`
ThreeDS *ThreeDSExecute `json:"ThreeDS,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PaymentLinkRequest represents a PaymentLinkRequest struct.
func (PaymentLinkRequest) MarshalJSON ¶
func (p PaymentLinkRequest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PaymentLinkRequest. It customizes the JSON marshaling process for PaymentLinkRequest objects.
func (PaymentLinkRequest) String ¶
func (p PaymentLinkRequest) String() string
String implements the fmt.Stringer interface for PaymentLinkRequest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PaymentLinkRequest) UnmarshalJSON ¶
func (p *PaymentLinkRequest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PaymentLinkRequest. It customizes the JSON unmarshaling process for PaymentLinkRequest objects.
type PaymentLinkResponse ¶
type PaymentLinkResponse struct {
CheckoutUrl *CheckoutUrlData `json:"CheckoutUrl,omitempty"`
InstallmentPlanNumber *string `json:"InstallmentPlanNumber,omitempty"`
MerchantOrderReference *string `json:"MerchantOrderReference,omitempty"`
PurchaseAmount float64 `json:"PurchaseAmount"`
Currency *string `json:"Currency,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PaymentLinkResponse represents a PaymentLinkResponse struct.
func (PaymentLinkResponse) MarshalJSON ¶
func (p PaymentLinkResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PaymentLinkResponse. It customizes the JSON marshaling process for PaymentLinkResponse objects.
func (PaymentLinkResponse) String ¶
func (p PaymentLinkResponse) String() string
String implements the fmt.Stringer interface for PaymentLinkResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PaymentLinkResponse) UnmarshalJSON ¶
func (p *PaymentLinkResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PaymentLinkResponse. It customizes the JSON unmarshaling process for PaymentLinkResponse objects.
type PaymentMethod ¶
type PaymentMethod struct {
Type string `json:"Type"`
Value string `json:"Value"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PaymentMethod represents a PaymentMethod struct.
func (PaymentMethod) MarshalJSON ¶
func (p PaymentMethod) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PaymentMethod. It customizes the JSON marshaling process for PaymentMethod objects.
func (PaymentMethod) String ¶
func (p PaymentMethod) String() string
String implements the fmt.Stringer interface for PaymentMethod, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PaymentMethod) UnmarshalJSON ¶
func (p *PaymentMethod) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PaymentMethod. It customizes the JSON unmarshaling process for PaymentMethod objects.
type PaymentMethodData ¶
type PaymentMethodData struct {
Type string `json:"Type"`
CardDetails *MaskedCardDetails `json:"CardDetails,omitempty"`
Par *string `json:"Par,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PaymentMethodData represents a PaymentMethodData struct.
func (PaymentMethodData) MarshalJSON ¶
func (p PaymentMethodData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PaymentMethodData. It customizes the JSON marshaling process for PaymentMethodData objects.
func (PaymentMethodData) String ¶
func (p PaymentMethodData) String() string
String implements the fmt.Stringer interface for PaymentMethodData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PaymentMethodData) UnmarshalJSON ¶
func (p *PaymentMethodData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PaymentMethodData. It customizes the JSON unmarshaling process for PaymentMethodData objects.
type PaymentMethodTypeEnum ¶
type PaymentMethodTypeEnum string
PaymentMethodTypeEnum is a string enum.
const (
PaymentMethodTypeEnum_CARD PaymentMethodTypeEnum = "Card"
)
func (PaymentMethodTypeEnum) MarshalJSON ¶
func (e PaymentMethodTypeEnum) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PaymentMethodTypeEnum. It customizes the JSON marshaling process for PaymentMethodTypeEnum objects.
func (*PaymentMethodTypeEnum) UnmarshalJSON ¶
func (e *PaymentMethodTypeEnum) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PaymentMethodTypeEnum. It customizes the JSON unmarshaling process for PaymentMethodTypeEnum objects.
type PisErrorCodesEnum ¶
type PisErrorCodesEnum string
PisErrorCodesEnum is a string enum.
const ( PisErrorCodesEnum_CONFIGURATIONKEYNOTFOUND PisErrorCodesEnum = "ConfigurationKeyNotFound" PisErrorCodesEnum_IDNOTFOUND PisErrorCodesEnum = "IdNotFound" PisErrorCodesEnum_INVALIDINPUT PisErrorCodesEnum = "InvalidInput" PisErrorCodesEnum_EXTERNALSYSTEMCALLFAILED PisErrorCodesEnum = "ExternalSystemCallFailed" PisErrorCodesEnum_IDEMPOTENCYERROR PisErrorCodesEnum = "IdempotencyError" PisErrorCodesEnum_IDEMPOTENCYORIGINALREQUESTERROR PisErrorCodesEnum = "IdempotencyOriginalRequestError" PisErrorCodesEnum_RULEDATAALREADYEXISTS PisErrorCodesEnum = "RuleDataAlreadyExists" PisErrorCodesEnum_PGPENCRYPTIONKEYNOTFOUND PisErrorCodesEnum = "PGPEncryptionKeyNotFound" PisErrorCodesEnum_INVALIDPGPKEY PisErrorCodesEnum = "InvalidPGPKey" PisErrorCodesEnum_MERCHANTMUSTBEPROVIDED PisErrorCodesEnum = "MerchantMustBeProvided" PisErrorCodesEnum_INVALIDMERCHANTCONFIGURATION PisErrorCodesEnum = "InvalidMerchantConfiguration" PisErrorCodesEnum_INVALIDINSTALLMENTPLANNUMBER PisErrorCodesEnum = "InvalidInstallmentPlanNumber" PisErrorCodesEnum_INVALIDINSTALLMENTPLANSTATUS PisErrorCodesEnum = "InvalidInstallmentPlanStatus" PisErrorCodesEnum_INVALIDCCCARDTYPENOTSUPPORTED PisErrorCodesEnum = "InvalidCCCardTypeNotSupported" PisErrorCodesEnum_INVALIDNUMBEROFINSTALLMENTS PisErrorCodesEnum = "InvalidNumberOfInstallments" PisErrorCodesEnum_INVALIDAMOUNTFORMAT PisErrorCodesEnum = "InvalidAmountFormat" PisErrorCodesEnum_CARDUPDATEISNOTALLOWED PisErrorCodesEnum = "CardUpdateIsNotAllowed" PisErrorCodesEnum_INVALIDCOUNTRYCODE PisErrorCodesEnum = "InvalidCountryCode" PisErrorCodesEnum_INVALIDRESPONSEURL PisErrorCodesEnum = "InvalidResponseURL" PisErrorCodesEnum_INVALIDCARDHOLDERNAME PisErrorCodesEnum = "InvalidCardholderName" PisErrorCodesEnum_INVALIDAMOUNT PisErrorCodesEnum = "InvalidAmount" PisErrorCodesEnum_INVALIDCVV PisErrorCodesEnum = "InvalidCVV" PisErrorCodesEnum_INVALIDCARDNUMBER PisErrorCodesEnum = "InvalidCardNumber" PisErrorCodesEnum_INVALIDEXPIRATIONDATE PisErrorCodesEnum = "InvalidExpirationDate" PisErrorCodesEnum_INVALIDCONSUMERFULLNAME PisErrorCodesEnum = "InvalidConsumerFullName" PisErrorCodesEnum_INVALIDEMAILFORMAT PisErrorCodesEnum = "InvalidEmailFormat" PisErrorCodesEnum_INVALIDADDRESS PisErrorCodesEnum = "InvalidAddress" PisErrorCodesEnum_INVALIDZIPCODE PisErrorCodesEnum = "InvalidZIPCode" PisErrorCodesEnum_INVALIDCCISSUECOUNTRYNOTSUPPORTEDBYTERMINAL PisErrorCodesEnum = "InvalidCCIssueCountryNotSupportedByTerminal" PisErrorCodesEnum_INVALIDCURRENCY PisErrorCodesEnum = "InvalidCurrency" PisErrorCodesEnum_INVALIDMASKEDCCNUMNOTFOUNDINPLAN PisErrorCodesEnum = "InvalidMaskedCcNumNotFoundInPlan" PisErrorCodesEnum_INSTALLMENTPLANISABOUTTOEXPIRE PisErrorCodesEnum = "InstallmentPlanIsAboutToExpire" PisErrorCodesEnum_COUNTRYSUBDIVISIONNOTSUPPORTED PisErrorCodesEnum = "CountrySubdivisionNotSupported" PisErrorCodesEnum_UPDATEINSTALLMENTWITHHIGHERAMOUNTTHANPERSISTEDISNOTALLOW PisErrorCodesEnum = "UpdateInstallment_WithHigherAmountThanPersistedIsNotAllow" PisErrorCodesEnum_UPDATEINSTALLMENTFIRSTINSTALLMENTWITHHIGHERAMOUNTTHANPERSISTEDISNOTALLOW PisErrorCodesEnum = "UpdateInstallment_FirstInstallmentWithHigherAmountThanPersistedIsNotAllow" PisErrorCodesEnum_UPDATEINSTALLMENTINTHEMIDDLEOFPLANASZEROISNOTALLOW PisErrorCodesEnum = "UpdateInstallment_InTheMiddleOfPlanAsZeroIsNotAllow" PisErrorCodesEnum_REFUNDINSTALLMENTWITHHIGHERAMOUNTTHANORIGINALISNOTALLOWED PisErrorCodesEnum = "RefundInstallmentWithHigherAmountThanOriginalIsNotAllowed" PisErrorCodesEnum_REFUNDINSTALLMENTTHATHASBEENCAPTUREDYETISNOTALLOWED PisErrorCodesEnum = "RefundInstallmentThatHasBeenCapturedYetIsNotAllowed" PisErrorCodesEnum_UPDATEINSTALLMENTALREADYPROCESSED PisErrorCodesEnum = "UpdateInstallment_AlreadyProcessed" PisErrorCodesEnum_APPROVEPLANPLANALREADYAPPROVED PisErrorCodesEnum = "ApprovePlan_PlanAlreadyApproved" PisErrorCodesEnum_INVALIDEXPIRATIONDATEFORMAT PisErrorCodesEnum = "InvalidExpirationDateFormat" PisErrorCodesEnum_INVALIDCCBINNOTFOUND PisErrorCodesEnum = "InvalidCCBinNotFound" PisErrorCodesEnum_INVALIDCCCARDBRANDNOTSUPPORTED PisErrorCodesEnum = "InvalidCCCardBrandNotSupported" PisErrorCodesEnum_APPROVEPLANNOAPPROVALEVIDENCE PisErrorCodesEnum = "ApprovePlan_NoApprovalEvidence" PisErrorCodesEnum_PLANWITHTHESAMEPAYMENTDATAALREADYBEENCREATEDLATELY PisErrorCodesEnum = "PlanWithTheSamePaymentDataAlreadyBeenCreatedLately" PisErrorCodesEnum_INVALIDFUTURECHARGEDATE PisErrorCodesEnum = "InvalidFutureChargeDate" PisErrorCodesEnum_INVALIDFIRSTINSTALLMENTAMOUNT PisErrorCodesEnum = "InvalidFirstInstallmentAmount" PisErrorCodesEnum_CULTURENAMENOTVALID PisErrorCodesEnum = "CultureNameNotValid" PisErrorCodesEnum_CULTURENOTSUPPORTED PisErrorCodesEnum = "CultureNotSupported" PisErrorCodesEnum_SYSTEMTEXTKEYNOTFOUND PisErrorCodesEnum = "SystemTextKeyNotFound" PisErrorCodesEnum_TERMINALNOTFOUNDBYSUPPLIEDAPIKEY PisErrorCodesEnum = "TerminalNotFoundBySuppliedApiKey" PisErrorCodesEnum_UNKNOWNZIPCODE PisErrorCodesEnum = "UnknownZipCode" PisErrorCodesEnum_CCREJECTIONPROCESSCANNOTBEINITIATEDDUETOAUTHEXPIRATION PisErrorCodesEnum = "CCRejectionProcessCannotBeInitiatedDueToAuthExpiration" PisErrorCodesEnum_CANTCHARGEINSTALLMENTWHILEPLANCHARGESAREONHOLD PisErrorCodesEnum = "CantChargeInstallmentWhilePlanChargesAreOnHold" PisErrorCodesEnum_CANTRELEASEHOLDONCHARGESSINCECHARGESARENOTHOLDED PisErrorCodesEnum = "CantReleaseHoldOnChargesSinceChargesAreNotHolded" PisErrorCodesEnum_REFUNDNOTALLOWEDONEORMOREINSTALLMENTSPASSEDREFUNDALLOWEDTIME PisErrorCodesEnum = "RefundNotAllowedOneOrMoreInstallmentsPassedRefundAllowedTime" PisErrorCodesEnum_REFUNDPARTIALYFAILEDONEORMOREINSTALLMENTFAILEDREFUND PisErrorCodesEnum = "RefundPartialyFailedOneOrMoreInstallmentFailedRefund" PisErrorCodesEnum_REFUNDFAILED PisErrorCodesEnum = "RefundFailed" PisErrorCodesEnum_UPDATEPLANPARAMETERSARENOTSUPPORTED PisErrorCodesEnum = "UpdatePlanParametersAreNotSupported" PisErrorCodesEnum_REFUNDREQUESTEDAMOUNTEXCEEDEDPLANREFUNDABLEAMOUNT PisErrorCodesEnum = "RefundRequestedAmountExceededPlanRefundableAmount" PisErrorCodesEnum_INVALIDCURRENCYNOTSUPPORTEDBYTERMINAL PisErrorCodesEnum = "InvalidCurrency_NotSupportedByTerminal" PisErrorCodesEnum_CREDITCARDISMISSING PisErrorCodesEnum = "CreditCardIsMissing" PisErrorCodesEnum_PISMEMBERISMISSING PisErrorCodesEnum = "PisMemberIsMissing" PisErrorCodesEnum_ADDRESSDATAISMISSINGORPARTIALLYINITIATED PisErrorCodesEnum = "AddressDataIsMissingOrPartiallyInitiated" PisErrorCodesEnum_CARDHOLDERNAMEISMISSING PisErrorCodesEnum = "CardHolderNameIsMissing" PisErrorCodesEnum_CARDNUMBERISMISSING PisErrorCodesEnum = "CardNumberIsMissing" PisErrorCodesEnum_CARDEXPIRATIONMONTHISMISSING PisErrorCodesEnum = "CardExpirationMonthIsMissing" PisErrorCodesEnum_CARDEXPIRATIONYEARISMISSING PisErrorCodesEnum = "CardExpirationYearIsMissing" PisErrorCodesEnum_NUMBEROFINSTALLMENTNOTDEFINED PisErrorCodesEnum = "NumberOfInstallmentNotDefined" PisErrorCodesEnum_INVALIDSTATECODE PisErrorCodesEnum = "InvalidStateCode" PisErrorCodesEnum_EMAILISMISSING PisErrorCodesEnum = "EmailIsMissing" PisErrorCodesEnum_CONSUMERFULLNAMEISMISSING PisErrorCodesEnum = "ConsumerFullNameIsMissing" PisErrorCodesEnum_CURRENCYMUSTBEDEFINEDONTRANSACTION PisErrorCodesEnum = "CurrencyMustBeDefinedOnTransaction" PisErrorCodesEnum_COULDNOTFUNDINSTALLMENTPLAN PisErrorCodesEnum = "CouldNotFundInstallmentPlan" PisErrorCodesEnum_COULDNOTREVERTFUND PisErrorCodesEnum = "CouldNotRevertFund" PisErrorCodesEnum_INVALIDPLANSTRATEGY PisErrorCodesEnum = "InvalidPlanStrategy" PisErrorCodesEnum_FULLCAPTURENOTSUPPORTED PisErrorCodesEnum = "FullCaptureNotSupported" PisErrorCodesEnum_INVALIDCCPREPAIDCARDNOTSUPPORTED PisErrorCodesEnum = "InvalidCcPrepaidCardNotSupported" PisErrorCodesEnum_CARDEXPIREBEFOREPLANENDS PisErrorCodesEnum = "CardExpireBeforePlanEnds" PisErrorCodesEnum_PARTIALPLANAMOUNTAUTHORIZED PisErrorCodesEnum = "PartialPlanAmountAuthorized" PisErrorCodesEnum_SECUREDAUTHORIZATIONREQUIREDFORPARTIALPAYMENT PisErrorCodesEnum = "SecuredAuthorizationRequiredForPartialPayment" PisErrorCodesEnum_THREEDSECUREDATANOTFOUND PisErrorCodesEnum = "ThreeDSecureDataNotFound" PisErrorCodesEnum_THREEDSECURENOTSUPPORTEDBYPLANSTRATEGY PisErrorCodesEnum = "ThreeDSecureNotSupportedByPlanStrategy" PisErrorCodesEnum_THREEDSECUREREQUIREDDATAMISSING PisErrorCodesEnum = "ThreeDSecureRequiredDataMissing" PisErrorCodesEnum_STRATEGYNOTALLOWED PisErrorCodesEnum = "StrategyNotAllowed" PisErrorCodesEnum_PAYMENTTOKENNOTVALID PisErrorCodesEnum = "PaymentTokenNotValid" PisErrorCodesEnum_ACTIVITYNOTSUPPORTEDFORPLANSTRATEGY PisErrorCodesEnum = "ActivityNotSupportedForPlanStrategy" PisErrorCodesEnum_PAYMENTWIZARDVIEWNOTEXIST PisErrorCodesEnum = "PaymentWizardViewNotExist" PisErrorCodesEnum_INVALIDURL PisErrorCodesEnum = "InvalidUrl" PisErrorCodesEnum_ISSUERBINNOTSUPPORTINGINSTALLMENTEXCEPTION PisErrorCodesEnum = "IssuerBinNotSupportingInstallmentException" PisErrorCodesEnum_COULDNOTCHANGELENDER PisErrorCodesEnum = "CouldNotChangeLender" PisErrorCodesEnum_FRAUDDETECED PisErrorCodesEnum = "FraudDeteced" PisErrorCodesEnum_PHONEISMISSING PisErrorCodesEnum = "PhoneIsMissing" PisErrorCodesEnum_INVALIDPHONEFORMAT PisErrorCodesEnum = "InvalidPhoneFormat" PisErrorCodesEnum_INSTALLMENTMISSINGOPENAUTHORIZATION PisErrorCodesEnum = "InstallmentMissingOpenAuthorization" PisErrorCodesEnum_GENERALERROR PisErrorCodesEnum = "GeneralError" PisErrorCodesEnum_GTWYRESULTGENERALERROR PisErrorCodesEnum = "GtwyResultGeneralError" PisErrorCodesEnum_GTWYRESULTCCDATAAVSZIP PisErrorCodesEnum = "GtwyResultCCDataAVSZip" PisErrorCodesEnum_GTWYRESULTCCDATAAVSADDRESS PisErrorCodesEnum = "GtwyResultCCDataAVSAddress" PisErrorCodesEnum_GTWYRESULTCCDATACVV PisErrorCodesEnum = "GtwyResultCCDataCVV" PisErrorCodesEnum_GTWYRESULTCCDATACCEXPIRATION PisErrorCodesEnum = "GtwyResultCCDataCCExpiration" PisErrorCodesEnum_GTWYRESULTCCDATAAVS PisErrorCodesEnum = "GtwyResultCCDataAVS" PisErrorCodesEnum_GTWYRESULTCCDATANUMBER PisErrorCodesEnum = "GtwyResultCCDataNumber" PisErrorCodesEnum_GTWYRESULTCCDATAGENERALPROBLEM PisErrorCodesEnum = "GtwyResultCCDataGeneralProblem" PisErrorCodesEnum_GTWYRESULTCCDATAINSUFFICIENTFUNDS PisErrorCodesEnum = "GtwyResultCCDataInsufficientFunds" PisErrorCodesEnum_GTWYRESULTCCWASDECLINED PisErrorCodesEnum = "GtwyResultCCWasDeclined" PisErrorCodesEnum_GTWYUNAUTHORIZEDCREDENTIALS PisErrorCodesEnum = "GtwyUnAuthorizedCredentials" PisErrorCodesEnum_GTWYCONNECTIVITYPROBLEM PisErrorCodesEnum = "GtwyConnectivityProblem" PisErrorCodesEnum_GTWYMERCHANTDATAPROBLEM PisErrorCodesEnum = "GtwyMerchantDataProblem" PisErrorCodesEnum_GTWYREQUIRE3DAUTHENTICATION PisErrorCodesEnum = "GtwyRequire3DAuthentication" PisErrorCodesEnum_ACTIVEINSTALLMENTPLANSGTWERROR PisErrorCodesEnum = "ActiveInstallmentPlansGtwError" PisErrorCodesEnum_GTWY3DAUTHENTICATIONFAILED PisErrorCodesEnum = "Gtwy3DAuthenticationFailed" PisErrorCodesEnum_GTWYFRAUDDETECTED PisErrorCodesEnum = "GtwyFraudDetected" PisErrorCodesEnum_GTWYRESULTPICKUPCARD PisErrorCodesEnum = "GtwyResultPickupCard" PisErrorCodesEnum_GTWYRESULTPINTRYEXCEEDED PisErrorCodesEnum = "GtwyResultPinTryExceeded" PisErrorCodesEnum_GTWYRESULTLOSTCARD PisErrorCodesEnum = "GtwyResultLostCard" PisErrorCodesEnum_GTWYRESULTSTOLENCARD PisErrorCodesEnum = "GtwyResultStolenCard" PisErrorCodesEnum_GTWYRESULTCLOSEDSHOPPERACCOUNT PisErrorCodesEnum = "GtwyResultClosedShopperAccount" PisErrorCodesEnum_GTWYRESULTRESTRICTEDCARD PisErrorCodesEnum = "GtwyResultRestrictedCard" PisErrorCodesEnum_GTWIRESULTCCWRONGPIN PisErrorCodesEnum = "GtwiResultCCWrongPin" PisErrorCodesEnum_GTWRESULTCCDECLINEDCARDNOTSUPPORTED PisErrorCodesEnum = "GtwResultCCDEclinedCardNotSupported" PisErrorCodesEnum_GTWRESULTCCDECLINEDCURRENCYNOTSUPPORTED PisErrorCodesEnum = "GtwResultCCDeclinedCurrencyNotSupported" PisErrorCodesEnum_GTWRESULTCCDECLINEDDUEAMOUNT PisErrorCodesEnum = "GtwResultCCDeclinedDueAmount" PisErrorCodesEnum_GTWRESULTCCDECLINEDDUESECURITYVIOLATION PisErrorCodesEnum = "GtwResultCCDeclinedDueSecurityViolation" PisErrorCodesEnum_AMOUNTEXCEEDSUSURYLIMIT PisErrorCodesEnum = "AmountExceedsUsuryLimit" PisErrorCodesEnum_INVALIDCREDENTIALS PisErrorCodesEnum = "InvalidCredentials" PisErrorCodesEnum_USERISLOCKED PisErrorCodesEnum = "UserIsLocked" PisErrorCodesEnum_USERISLOCKEDDUEINACTIVITY PisErrorCodesEnum = "UserIsLockedDueInactivity" PisErrorCodesEnum_SESSIONNOTVALID PisErrorCodesEnum = "SessionNotValid" PisErrorCodesEnum_SESSIONEXPIRED PisErrorCodesEnum = "SessionExpired" PisErrorCodesEnum_ACTIVITYNOTALLOWEDFORUSER PisErrorCodesEnum = "ActivityNotAllowedForUser" PisErrorCodesEnum_ACTIVITYONMERCHANTNOTALLOWEDFORUSER PisErrorCodesEnum = "ActivityOnMerchantNotAllowedForUser" PisErrorCodesEnum_ACTIVITYONTERMINALNOTALLOWEDFORUSER PisErrorCodesEnum = "ActivityOnTerminalNotAllowedForUser" PisErrorCodesEnum_ACTIVITYONINSTALLMENTPLANNOTALLOWEDFORUSER PisErrorCodesEnum = "ActivityOnInstallmentPlanNotAllowedForUser" PisErrorCodesEnum_TOKENNOTFOUNDOREXPIRED PisErrorCodesEnum = "TokenNotFoundOrExpired" PisErrorCodesEnum_TOKENALREADYUSED PisErrorCodesEnum = "TokenAlreadyUsed" PisErrorCodesEnum_USEROLDPASSRODISINCORRECT PisErrorCodesEnum = "UserOldPassrodIsIncorrect" PisErrorCodesEnum_USERNEWPASSWORDALREADYUSED PisErrorCodesEnum = "UserNewPasswordAlreadyUsed" PisErrorCodesEnum_USEREMAILNOTFOUND PisErrorCodesEnum = "UserEmailNotFound" PisErrorCodesEnum_PASSWORDEXPIRED PisErrorCodesEnum = "PasswordExpired" PisErrorCodesEnum_TOUCHPOINTNOTFOUND PisErrorCodesEnum = "TouchPointNotFound" PisErrorCodesEnum_ACTIVITYNOTALLOWEDFORPUBLICSESSION PisErrorCodesEnum = "ActivityNotAllowedForPublicSession" PisErrorCodesEnum_USERRELATESTOMORETHANSINGLEBUSINESSUNIT PisErrorCodesEnum = "UserRelatesToMoreThanSingleBusinessUnit" PisErrorCodesEnum_INVALIDPASSWORDSTRENGTH PisErrorCodesEnum = "InvalidPasswordStrength" PisErrorCodesEnum_INVALIDREQUESTEDSTRATEGY PisErrorCodesEnum = "InvalidRequestedStrategy" PisErrorCodesEnum_ROLENOTALLOWEDFORUSER PisErrorCodesEnum = "RoleNotAllowedForUser" PisErrorCodesEnum_USERNAMEALREADYEXISTS PisErrorCodesEnum = "UserNameAlreadyExists" PisErrorCodesEnum_ACTIVITYNOTALLOWEDFORAUTHENTICATIONTYPE PisErrorCodesEnum = "ActivityNotAllowedForAuthenticationType" PisErrorCodesEnum_ACTIVITYNOTALLOWEDDUETOPRIVACYPROTECTION PisErrorCodesEnum = "ActivityNotAllowedDueToPrivacyProtection" PisErrorCodesEnum_BUSINESSUNITNOTALLOWEDFORUSER PisErrorCodesEnum = "BusinessUnitNotAllowedForUser" PisErrorCodesEnum_UPDATETODIFFERENTBUSINESSPARTYROLENOTALLOWED PisErrorCodesEnum = "UpdateToDifferentBusinessPartyRoleNotAllowed" PisErrorCodesEnum_EXTERNALAUTHAMOUNTNOTVALID PisErrorCodesEnum = "ExternalAuthAmountNotValid" PisErrorCodesEnum_CAPTCHANOTSUCCESSFUL PisErrorCodesEnum = "CaptchaNotSuccessful" PisErrorCodesEnum_REPORTNOTALLOWEDFORUSER PisErrorCodesEnum = "ReportNotAllowedForUser" PisErrorCodesEnum_PHONETOKENINVALIDOREXPIRED PisErrorCodesEnum = "PhoneTokenInvalidOrExpired" PisErrorCodesEnum_USEREMAILHIDDENBYEXTERNALPROVIDER PisErrorCodesEnum = "UserEmailHiddenByExternalProvider" PisErrorCodesEnum_INVALIDPERIODRANGEVALUES PisErrorCodesEnum = "InvalidPeriodRangeValues" PisErrorCodesEnum_REMOVEDTRANSACTIONCURRENCYISINUSEBYTERMINAL PisErrorCodesEnum = "RemovedTransactionCurrencyIsInUseByTerminal" PisErrorCodesEnum_REMOVEDTRANSACTIONCURRENCYISINUSEBYACCOUNTINGCURRENCY PisErrorCodesEnum = "RemovedTransactionCurrencyIsInUseByAccountingCurrency" PisErrorCodesEnum_INVALIDAMOUNTRANGEVALUES PisErrorCodesEnum = "InvalidAmountRangeValues" PisErrorCodesEnum_EMAILCANNOTBEEMPTY PisErrorCodesEnum = "EmailCannotBeEmpty" PisErrorCodesEnum_COUNTRYNOTSUPPORTED PisErrorCodesEnum = "CountryNotSupported" PisErrorCodesEnum_TERMINALAPIKEYMISSING PisErrorCodesEnum = "TerminalApiKeyMissing" PisErrorCodesEnum_FULLNAMECANNOTBEEMPTY PisErrorCodesEnum = "FullnameCannotBeEmpty" PisErrorCodesEnum_COMPANYNAMECANNOTBEEMPTY PisErrorCodesEnum = "CompanyNameCannotBeEmpty" PisErrorCodesEnum_INVALIDCOMPANYFORMAT PisErrorCodesEnum = "InvalidCompanyFormat" PisErrorCodesEnum_INVALIDFULLNAMEFORMAT PisErrorCodesEnum = "InvalidFullnameFormat" PisErrorCodesEnum_INVALIDSTOREURL PisErrorCodesEnum = "InvalidStoreUrl" PisErrorCodesEnum_INVALIDCOMPANYWEBSITE PisErrorCodesEnum = "InvalidCompanyWebsite" PisErrorCodesEnum_TERMINALPROCESSORISMISSING PisErrorCodesEnum = "TerminalProcessorIsMissing" PisErrorCodesEnum_NONTRANSACTIONALLOWEDTOCREATETERMINAL PisErrorCodesEnum = "NonTransactionAllowedToCreateTerminal" PisErrorCodesEnum_TOTALWEIGHTEDVALUESNOTEQUAL100 PisErrorCodesEnum = "TotalWeightedValuesNotEqual100" PisErrorCodesEnum_AMOUNTEXCEEDEDMAXALLOWEDFORFUNDINGOPERATION PisErrorCodesEnum = "AmountExceededMaxAllowedForFundingOperation" PisErrorCodesEnum_FUNDEDPLANSCANNOTBECANCELEDWITHOUTREFUND PisErrorCodesEnum = "FundedPlansCannotBeCanceledWithoutRefund" PisErrorCodesEnum_INSTALLMENTSCANNOTBEUPDATEDONFUNDEDPLANWITHLOWERPLANAMOUNT PisErrorCodesEnum = "InstallmentsCannotBeUpdatedOnFundedPlanWithLowerPlanAmount" PisErrorCodesEnum_NOFUNDINGPLANINFOFORINSTALLMENTPLAN PisErrorCodesEnum = "NoFundingPlanInfoForInstallmentPlan" PisErrorCodesEnum_NOFUNDINGSETUPFORBUSINESSUNIT PisErrorCodesEnum = "NoFundingSetupForBusinessUnit" PisErrorCodesEnum_MERCHANTISNOTFINANCEDYET PisErrorCodesEnum = "MerchantIsNotFinancedYet" PisErrorCodesEnum_CANNOTCHANGEFUNDINGCOLLECTIONMETHOD PisErrorCodesEnum = "CannotChangeFundingCollectionMethod" PisErrorCodesEnum_SALESFORCEOPERATIONERROR PisErrorCodesEnum = "SalesforceOperationError" PisErrorCodesEnum_MAXRETRIESEXCEEDED PisErrorCodesEnum = "MaxRetriesExceeded" PisErrorCodesEnum_IDEMPOTENCYHASHMISMATCHERROR PisErrorCodesEnum = "IdempotencyHashMismatchError" PisErrorCodesEnum_TERMINALNOTSUPPORTPAYMENTTOKEN PisErrorCodesEnum = "TerminalNotSupportPaymentToken" PisErrorCodesEnum_ADDITIONTOKENPARAMNOTEXIST PisErrorCodesEnum = "AdditionTokenParamNotExist" PisErrorCodesEnum_UNABLETORETRIEVECARDFROMTOKEN PisErrorCodesEnum = "UnableToRetrieveCardFromToken" PisErrorCodesEnum_PROCESSORSETTINGSNOTENABLED PisErrorCodesEnum = "ProcessorSettingsNotEnabled" PisErrorCodesEnum_UNABLETOUPDATEDISPUTE PisErrorCodesEnum = "UnableToUpdateDispute" PisErrorCodesEnum_ENCRYPTIONERROR PisErrorCodesEnum = "EncryptionError" PisErrorCodesEnum_DECRYPTIONERROR PisErrorCodesEnum = "DecryptionError" PisErrorCodesEnum_MULTIPLEMESSAGINGMEANSPROVIDED PisErrorCodesEnum = "MultipleMessagingMeansProvided" PisErrorCodesEnum_NOMESSAGINGMEANSWASPROVIDED PisErrorCodesEnum = "NoMessagingMeansWasProvided" PisErrorCodesEnum_LOGOCANNOTBEREMOVED PisErrorCodesEnum = "LogoCannotBeRemoved" PisErrorCodesEnum_PLANISLOCKEDFORCHANGES PisErrorCodesEnum = "PlanIsLockedForChanges" PisErrorCodesEnum_CANNOTPERFROMACTIONDUETOACTIVEDELAYDCHARGE PisErrorCodesEnum = "CannotPerfromActionDueToActiveDelaydCharge" PisErrorCodesEnum_EXTERNALINSTALLMENTPROVIDERERROR PisErrorCodesEnum = "ExternalInstallmentProviderError" PisErrorCodesEnum_CANNOTCHANGEAMOUNTWHENSTATUSISNTINITIALIZE PisErrorCodesEnum = "CannotChangeAmountWhenStatusIsntInitialize" PisErrorCodesEnum_CANNOTCHARGEBEFORESTARTINSTALLMENTS PisErrorCodesEnum = "CannotChargeBeforeStartInstallments" PisErrorCodesEnum_EXECUTIONCANCELLED PisErrorCodesEnum = "ExecutionCancelled" PisErrorCodesEnum_INVALIDPLANSTATUS PisErrorCodesEnum = "InvalidPlanStatus" PisErrorCodesEnum_TRANSACTIONROUTENOTFOUND PisErrorCodesEnum = "TransactionRouteNotFound" PisErrorCodesEnum_PLANHASMOREOPENAUTHORIZATIONS PisErrorCodesEnum = "PlanHasMoreOpenAuthorizations" PisErrorCodesEnum_INVALIDREFORDERNUMBER PisErrorCodesEnum = "InvalidRefOrderNumber" PisErrorCodesEnum_STARTINSTALLMENTSRETRYEXCEEDED PisErrorCodesEnum = "StartInstallmentsRetryExceeded" PisErrorCodesEnum_STARTINSTALLMENTSRETRYLOOPALREADYEXIST PisErrorCodesEnum = "StartInstallmentsRetryLoopAlreadyExist" PisErrorCodesEnum_INVALIDINSTALLMENTPLANAUTHORIZATIONSTATUS PisErrorCodesEnum = "InvalidInstallmentPlanAuthorizationStatus" PisErrorCodesEnum_INVALIDCCCARDTYPENOTSUPPORTEDMORETHANXINSTALLMENTS PisErrorCodesEnum = "InvalidCCCardTypeNotSupportedMoreThanXInstallments" PisErrorCodesEnum_INVALIDCCCARDTYPENOTSUPPORTEDMORETHANXAMOUNT PisErrorCodesEnum = "InvalidCCCardTypeNotSupportedMoreThanXAmount" PisErrorCodesEnum_INVALIDNUMBEROFREQUESTEDINSTALLMENTS PisErrorCodesEnum = "InvalidNumberOfRequestedInstallments" PisErrorCodesEnum_CARDUPDATELIMITBREACHED PisErrorCodesEnum = "CardUpdateLimitBreached" PisErrorCodesEnum_CARDUPDATEDENIEDOPENDISPUTES PisErrorCodesEnum = "CardUpdateDeniedOpenDisputes" PisErrorCodesEnum_PLANAMOUNTEXCEEDSALLOWEDDECIMALPLACES PisErrorCodesEnum = "PlanAmountExceedsAllowedDecimalPlaces" PisErrorCodesEnum_SHOPPERBALANCEEXCEEDED PisErrorCodesEnum = "ShopperBalanceExceeded" PisErrorCodesEnum_INVALIDCARDNUMBERLENGTH PisErrorCodesEnum = "InvalidCardNumberLength" PisErrorCodesEnum_BILLINGCOUNTRYISNOTALLOWEDFORMERCHANT PisErrorCodesEnum = "BillingCountryIsNotAllowedForMerchant" PisErrorCodesEnum_INVALIDCCCARDBRANDNOTSUPPORTEDMORETHANXINSTALLMENTS PisErrorCodesEnum = "InvalidCCCardBrandNotSupportedMoreThanXInstallments" PisErrorCodesEnum_INVALIDCCCARDBRANDNOTSUPPORTEDMORETHANXAMOUNT PisErrorCodesEnum = "InvalidCCCardBrandNotSupportedMoreThanXAmount" PisErrorCodesEnum_REFUNDNOTALLOWEDFORCHARGEBACKPLANS PisErrorCodesEnum = "RefundNotAllowedForChargebackPlans" PisErrorCodesEnum_REFUNDFAILEDPLANALREADYREFUNDED PisErrorCodesEnum = "RefundFailedPlanAlreadyRefunded" PisErrorCodesEnum_EMAILNOTVERIFIED PisErrorCodesEnum = "EmailNotVerified" PisErrorCodesEnum_INVALIDCCPREPAIDCARDNOTSUPPORTEDMORETHANXINSTALLMENTS PisErrorCodesEnum = "InvalidCcPrepaidCardNotSupportedMoreThanXInstallments" PisErrorCodesEnum_INVALIDCCPREPAIDCARDNOTSUPPORTEDMORETHANXAMOUNT PisErrorCodesEnum = "InvalidCcPrepaidCardNotSupportedMoreThanXAmount" PisErrorCodesEnum_PLANVERIFICATIONFAILED PisErrorCodesEnum = "PlanVerificationFailed" PisErrorCodesEnum_PAYMENTTOKENIZATIONNOTENABLED PisErrorCodesEnum = "PaymentTokenizationNotEnabled" PisErrorCodesEnum_INVALIDINTERNALURLSENTTOOMS PisErrorCodesEnum = "InvalidInternalUrlSentToOms" PisErrorCodesEnum_ISSUERBINBLACKLISTED PisErrorCodesEnum = "IssuerBinBlacklisted" PisErrorCodesEnum_MERCHANTDORMANTACCOUNT PisErrorCodesEnum = "MerchantDormantAccount" PisErrorCodesEnum_SHOPPERDETAILSBLACKLISTED PisErrorCodesEnum = "ShopperDetailsBlacklisted" PisErrorCodesEnum_PLANCONTEXTNOTVALIDFORNUMBEROFINSTALLMENTS PisErrorCodesEnum = "PlanContextNotValidForNumberOfInstallments" PisErrorCodesEnum_PLANCONTEXTNOTVALIDFORAMOUNT PisErrorCodesEnum = "PlanContextNotValidForAmount" PisErrorCodesEnum_GENERALTIMEOUTERROR PisErrorCodesEnum = "GeneralTimeoutError" PisErrorCodesEnum_CANNOTCANCELCFPLAN PisErrorCodesEnum = "CanNotCancelCFPlan" PisErrorCodesEnum_ISSUERREFUNDEXPIRED PisErrorCodesEnum = "IssuerRefundExpired" PisErrorCodesEnum_UPDATECARDNOTALLOWEDPLANISNOTACTIVE PisErrorCodesEnum = "UpdateCardNotAllowedPlanIsNotActive" PisErrorCodesEnum_USEREMAILALREADYEXISTS PisErrorCodesEnum = "UserEmailAlreadyExists" PisErrorCodesEnum_USERNOTFOUND PisErrorCodesEnum = "UserNotFound" PisErrorCodesEnum_USERHASNOROLESASSIGNED PisErrorCodesEnum = "UserHasNoRolesAssigned" PisErrorCodesEnum_NONE PisErrorCodesEnum = "None" )
func (PisErrorCodesEnum) MarshalJSON ¶
func (e PisErrorCodesEnum) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PisErrorCodesEnum. It customizes the JSON marshaling process for PisErrorCodesEnum objects.
func (*PisErrorCodesEnum) UnmarshalJSON ¶
func (e *PisErrorCodesEnum) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PisErrorCodesEnum. It customizes the JSON unmarshaling process for PisErrorCodesEnum objects.
type PlanAuthorizationData ¶
type PlanAuthorizationData struct {
Status AuthorizationStatusEnum `json:"Status"`
Date *time.Time `json:"Date,omitempty"`
SplititErrorResultCode *string `json:"SplititErrorResultCode,omitempty"`
GatewayTransactionID *string `json:"GatewayTransactionID,omitempty"`
GatewayResultCode *string `json:"GatewayResultCode,omitempty"`
GatewayResultMessage *string `json:"GatewayResultMessage,omitempty"`
ThreeDSRedirect *ThreeDSRedirectData `json:"ThreeDSRedirect,omitempty"`
CAVV *string `json:"CAVV,omitempty"`
ECI *string `json:"ECI,omitempty"`
GatewaySourceResponse *string `json:"GatewaySourceResponse,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PlanAuthorizationData represents a PlanAuthorizationData struct.
func (PlanAuthorizationData) MarshalJSON ¶
func (p PlanAuthorizationData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PlanAuthorizationData. It customizes the JSON marshaling process for PlanAuthorizationData objects.
func (PlanAuthorizationData) String ¶
func (p PlanAuthorizationData) String() string
String implements the fmt.Stringer interface for PlanAuthorizationData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PlanAuthorizationData) UnmarshalJSON ¶
func (p *PlanAuthorizationData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PlanAuthorizationData. It customizes the JSON unmarshaling process for PlanAuthorizationData objects.
type PlanLinksData ¶
type PlanLinksData struct {
Key *string `json:"Key,omitempty"`
Label *string `json:"Label,omitempty"`
Value *string `json:"Value,omitempty"`
Description *string `json:"Description,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
PlanLinksData represents a PlanLinksData struct.
func (PlanLinksData) MarshalJSON ¶
func (p PlanLinksData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PlanLinksData. It customizes the JSON marshaling process for PlanLinksData objects.
func (PlanLinksData) String ¶
func (p PlanLinksData) String() string
String implements the fmt.Stringer interface for PlanLinksData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*PlanLinksData) UnmarshalJSON ¶
func (p *PlanLinksData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PlanLinksData. It customizes the JSON unmarshaling process for PlanLinksData objects.
type PlanStatusEnum ¶
type PlanStatusEnum string
PlanStatusEnum is a string enum.
const ( PlanStatusEnum_INITIALIZED PlanStatusEnum = "Initialized" PlanStatusEnum_PENDINGCAPTURE PlanStatusEnum = "PendingCapture" PlanStatusEnum_ACTIVE PlanStatusEnum = "Active" PlanStatusEnum_CLEARED PlanStatusEnum = "Cleared" PlanStatusEnum_CANCELED PlanStatusEnum = "Canceled" )
func (PlanStatusEnum) MarshalJSON ¶
func (e PlanStatusEnum) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PlanStatusEnum. It customizes the JSON marshaling process for PlanStatusEnum objects.
func (*PlanStatusEnum) UnmarshalJSON ¶
func (e *PlanStatusEnum) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PlanStatusEnum. It customizes the JSON unmarshaling process for PlanStatusEnum objects.
type ProcessingData ¶
type ProcessingData struct {
SoftDescriptor *string `json:"SoftDescriptor,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ProcessingData represents a ProcessingData struct.
func (ProcessingData) MarshalJSON ¶
func (p ProcessingData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ProcessingData. It customizes the JSON marshaling process for ProcessingData objects.
func (ProcessingData) String ¶
func (p ProcessingData) String() string
String implements the fmt.Stringer interface for ProcessingData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ProcessingData) UnmarshalJSON ¶
func (p *ProcessingData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ProcessingData. It customizes the JSON unmarshaling process for ProcessingData objects.
type PurchaseMethodEnum ¶
type PurchaseMethodEnum string
PurchaseMethodEnum is a string enum.
const ( PurchaseMethodEnum_INSTORE PurchaseMethodEnum = "InStore" PurchaseMethodEnum_PHONEORDER PurchaseMethodEnum = "PhoneOrder" PurchaseMethodEnum_ECOMMERCE PurchaseMethodEnum = "ECommerce" PurchaseMethodEnum_MOTO PurchaseMethodEnum = "Moto" PurchaseMethodEnum_INSTOREVCC PurchaseMethodEnum = "InStoreVcc" PurchaseMethodEnum_ECOMMERCEVCC PurchaseMethodEnum = "ECommerceVcc" )
func (PurchaseMethodEnum) MarshalJSON ¶
func (e PurchaseMethodEnum) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for PurchaseMethodEnum. It customizes the JSON marshaling process for PurchaseMethodEnum objects.
func (*PurchaseMethodEnum) UnmarshalJSON ¶
func (e *PurchaseMethodEnum) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for PurchaseMethodEnum. It customizes the JSON unmarshaling process for PurchaseMethodEnum objects.
type RedirectUrls ¶
type RedirectUrls struct {
SuccessUrl string `json:"SuccessUrl"`
FailureUrl *string `json:"FailureUrl,omitempty"`
CancelUrl *string `json:"CancelUrl,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RedirectUrls represents a RedirectUrls struct.
func (RedirectUrls) MarshalJSON ¶
func (r RedirectUrls) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RedirectUrls. It customizes the JSON marshaling process for RedirectUrls objects.
func (RedirectUrls) String ¶
func (r RedirectUrls) String() string
String implements the fmt.Stringer interface for RedirectUrls, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RedirectUrls) UnmarshalJSON ¶
func (r *RedirectUrls) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RedirectUrls. It customizes the JSON unmarshaling process for RedirectUrls objects.
type RefundItem ¶
type RefundItem struct {
SubmitDate *time.Time `json:"SubmitDate,omitempty"`
RequestedAmount float64 `json:"RequestedAmount"`
Status *string `json:"Status,omitempty"`
NonCreditRefundAmount *float64 `json:"NonCreditRefundAmount,omitempty"`
CreditRefundAmount *float64 `json:"CreditRefundAmount,omitempty"`
RefundId *string `json:"RefundId,omitempty"`
ReferenceId *string `json:"ReferenceId,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RefundItem represents a RefundItem struct.
func (RefundItem) MarshalJSON ¶
func (r RefundItem) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RefundItem. It customizes the JSON marshaling process for RefundItem objects.
func (RefundItem) String ¶
func (r RefundItem) String() string
String implements the fmt.Stringer interface for RefundItem, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RefundItem) UnmarshalJSON ¶
func (r *RefundItem) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RefundItem. It customizes the JSON unmarshaling process for RefundItem objects.
type RefundRequest ¶
type RefundRequest struct {
Amount string `json:"Amount"`
ReferenceId *string `json:"ReferenceId,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RefundRequest represents a RefundRequest struct.
func (RefundRequest) MarshalJSON ¶
func (r RefundRequest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RefundRequest. It customizes the JSON marshaling process for RefundRequest objects.
func (RefundRequest) String ¶
func (r RefundRequest) String() string
String implements the fmt.Stringer interface for RefundRequest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RefundRequest) UnmarshalJSON ¶
func (r *RefundRequest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RefundRequest. It customizes the JSON unmarshaling process for RefundRequest objects.
type RefundResponse ¶
type RefundResponse struct {
RefundId *string `json:"RefundId,omitempty"`
InstallmentPlanNumber *string `json:"InstallmentPlanNumber,omitempty"`
Currency *string `json:"Currency,omitempty"`
RequestedAmount float64 `json:"RequestedAmount"`
ReferenceId *string `json:"ReferenceId,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
RefundResponse represents a RefundResponse struct.
func (RefundResponse) MarshalJSON ¶
func (r RefundResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for RefundResponse. It customizes the JSON marshaling process for RefundResponse objects.
func (RefundResponse) String ¶
func (r RefundResponse) String() string
String implements the fmt.Stringer interface for RefundResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*RefundResponse) UnmarshalJSON ¶
func (r *RefundResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RefundResponse. It customizes the JSON unmarshaling process for RefundResponse objects.
type ShippingStatusEnum ¶
type ShippingStatusEnum string
ShippingStatusEnum is a string enum.
const ( ShippingStatusEnum_PENDING ShippingStatusEnum = "Pending" ShippingStatusEnum_SHIPPED ShippingStatusEnum = "Shipped" ShippingStatusEnum_DELIVERED ShippingStatusEnum = "Delivered" )
func (ShippingStatusEnum) MarshalJSON ¶
func (e ShippingStatusEnum) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ShippingStatusEnum. It customizes the JSON marshaling process for ShippingStatusEnum objects.
func (*ShippingStatusEnum) UnmarshalJSON ¶
func (e *ShippingStatusEnum) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ShippingStatusEnum. It customizes the JSON unmarshaling process for ShippingStatusEnum objects.
type ShopperDetailsData ¶
type ShopperDetailsData struct {
FirstName *string `json:"FirstName,omitempty"`
LastName *string `json:"LastName,omitempty"`
Email *string `json:"Email,omitempty"`
PhoneNumber *string `json:"PhoneNumber,omitempty"`
Culture *string `json:"Culture,omitempty"`
BillingAddress *BillingAddressData `json:"BillingAddress,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ShopperDetailsData represents a ShopperDetailsData struct.
func (ShopperDetailsData) MarshalJSON ¶
func (s ShopperDetailsData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ShopperDetailsData. It customizes the JSON marshaling process for ShopperDetailsData objects.
func (ShopperDetailsData) String ¶
func (s ShopperDetailsData) String() string
String implements the fmt.Stringer interface for ShopperDetailsData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ShopperDetailsData) UnmarshalJSON ¶
func (s *ShopperDetailsData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ShopperDetailsData. It customizes the JSON unmarshaling process for ShopperDetailsData objects.
type ThreeDSAuthenticationData ¶
type ThreeDSAuthenticationData struct {
ECI string `json:"ECI"`
CAVV string `json:"CAVV"`
DirectoryServerTransactionId string `json:"DirectoryServerTransactionId"`
Version string `json:"Version"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ThreeDSAuthenticationData represents a ThreeDSAuthenticationData struct.
func (ThreeDSAuthenticationData) MarshalJSON ¶
func (t ThreeDSAuthenticationData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ThreeDSAuthenticationData. It customizes the JSON marshaling process for ThreeDSAuthenticationData objects.
func (ThreeDSAuthenticationData) String ¶
func (t ThreeDSAuthenticationData) String() string
String implements the fmt.Stringer interface for ThreeDSAuthenticationData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ThreeDSAuthenticationData) UnmarshalJSON ¶
func (t *ThreeDSAuthenticationData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ThreeDSAuthenticationData. It customizes the JSON unmarshaling process for ThreeDSAuthenticationData objects.
type ThreeDSExecute ¶
type ThreeDSExecute struct {
Execute *bool `json:"Execute,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ThreeDSExecute represents a ThreeDSExecute struct.
func (ThreeDSExecute) MarshalJSON ¶
func (t ThreeDSExecute) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ThreeDSExecute. It customizes the JSON marshaling process for ThreeDSExecute objects.
func (ThreeDSExecute) String ¶
func (t ThreeDSExecute) String() string
String implements the fmt.Stringer interface for ThreeDSExecute, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ThreeDSExecute) UnmarshalJSON ¶
func (t *ThreeDSExecute) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ThreeDSExecute. It customizes the JSON unmarshaling process for ThreeDSExecute objects.
type ThreeDSRedirectData ¶
type ThreeDSRedirectData struct {
Url *string `json:"Url,omitempty"`
Verb *string `json:"Verb,omitempty"`
Params map[string]string `json:"Params,omitempty"`
ClientRedirectUrl *string `json:"ClientRedirectUrl,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ThreeDSRedirectData represents a ThreeDSRedirectData struct.
func (ThreeDSRedirectData) MarshalJSON ¶
func (t ThreeDSRedirectData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ThreeDSRedirectData. It customizes the JSON marshaling process for ThreeDSRedirectData objects.
func (ThreeDSRedirectData) String ¶
func (t ThreeDSRedirectData) String() string
String implements the fmt.Stringer interface for ThreeDSRedirectData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ThreeDSRedirectData) UnmarshalJSON ¶
func (t *ThreeDSRedirectData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ThreeDSRedirectData. It customizes the JSON unmarshaling process for ThreeDSRedirectData objects.
type ThreeDSRequestData ¶
type ThreeDSRequestData struct {
Execute *bool `json:"Execute,omitempty"`
ThreeDSURLs *RedirectUrls `json:"ThreeDSURLs,omitempty"`
AuthenticationData *ThreeDSAuthenticationData `json:"AuthenticationData,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ThreeDSRequestData represents a ThreeDSRequestData struct.
func (ThreeDSRequestData) MarshalJSON ¶
func (t ThreeDSRequestData) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ThreeDSRequestData. It customizes the JSON marshaling process for ThreeDSRequestData objects.
func (ThreeDSRequestData) String ¶
func (t ThreeDSRequestData) String() string
String implements the fmt.Stringer interface for ThreeDSRequestData, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ThreeDSRequestData) UnmarshalJSON ¶
func (t *ThreeDSRequestData) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ThreeDSRequestData. It customizes the JSON unmarshaling process for ThreeDSRequestData objects.
type UpdateOffersPaymentMethod ¶
type UpdateOffersPaymentMethod struct {
Type string `json:"Type"`
CardDetails CardDetails `json:"CardDetails"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpdateOffersPaymentMethod represents a UpdateOffersPaymentMethod struct.
func (UpdateOffersPaymentMethod) MarshalJSON ¶
func (u UpdateOffersPaymentMethod) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpdateOffersPaymentMethod. It customizes the JSON marshaling process for UpdateOffersPaymentMethod objects.
func (UpdateOffersPaymentMethod) String ¶
func (u UpdateOffersPaymentMethod) String() string
String implements the fmt.Stringer interface for UpdateOffersPaymentMethod, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpdateOffersPaymentMethod) UnmarshalJSON ¶
func (u *UpdateOffersPaymentMethod) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpdateOffersPaymentMethod. It customizes the JSON unmarshaling process for UpdateOffersPaymentMethod objects.
type UpdateOffersRequest ¶
type UpdateOffersRequest struct {
MerchantOrderReference *string `json:"MerchantOrderReference,omitempty"`
ShopperDetails *OffersShopperDetails `json:"ShopperDetails,omitempty"`
PaymentMethod *UpdateOffersPaymentMethod `json:"PaymentMethod,omitempty"`
Metadata []MetadataItem `json:"Metadata,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpdateOffersRequest represents a UpdateOffersRequest struct.
func (UpdateOffersRequest) MarshalJSON ¶
func (u UpdateOffersRequest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpdateOffersRequest. It customizes the JSON marshaling process for UpdateOffersRequest objects.
func (UpdateOffersRequest) String ¶
func (u UpdateOffersRequest) String() string
String implements the fmt.Stringer interface for UpdateOffersRequest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpdateOffersRequest) UnmarshalJSON ¶
func (u *UpdateOffersRequest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpdateOffersRequest. It customizes the JSON unmarshaling process for UpdateOffersRequest objects.
type UpdateOrderRequest ¶
type UpdateOrderRequest struct {
TrackingNumber *string `json:"TrackingNumber,omitempty"`
ShippingStatus ShippingStatusEnum `json:"ShippingStatus"`
Metadata []MetadataItem `json:"Metadata,omitempty"`
MerchantOrderReference *string `json:"MerchantOrderReference,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpdateOrderRequest represents a UpdateOrderRequest struct.
func (UpdateOrderRequest) MarshalJSON ¶
func (u UpdateOrderRequest) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpdateOrderRequest. It customizes the JSON marshaling process for UpdateOrderRequest objects.
func (UpdateOrderRequest) String ¶
func (u UpdateOrderRequest) String() string
String implements the fmt.Stringer interface for UpdateOrderRequest, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpdateOrderRequest) UnmarshalJSON ¶
func (u *UpdateOrderRequest) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpdateOrderRequest. It customizes the JSON unmarshaling process for UpdateOrderRequest objects.
type UpdateOrderResponse ¶
type UpdateOrderResponse struct {
Status PlanStatusEnum `json:"Status"`
MerchantOrderReference *string `json:"MerchantOrderReference,omitempty"`
TrackingNumber *string `json:"TrackingNumber,omitempty"`
ShippingStatus *ShippingStatusEnum `json:"ShippingStatus,omitempty"`
Metadata []MetadataItem `json:"Metadata,omitempty"`
InstallmentPlanNumber *string `json:"InstallmentPlanNumber,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
UpdateOrderResponse represents a UpdateOrderResponse struct.
func (UpdateOrderResponse) MarshalJSON ¶
func (u UpdateOrderResponse) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for UpdateOrderResponse. It customizes the JSON marshaling process for UpdateOrderResponse objects.
func (UpdateOrderResponse) String ¶
func (u UpdateOrderResponse) String() string
String implements the fmt.Stringer interface for UpdateOrderResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*UpdateOrderResponse) UnmarshalJSON ¶
func (u *UpdateOrderResponse) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UpdateOrderResponse. It customizes the JSON unmarshaling process for UpdateOrderResponse objects.
type ValidationError ¶
type ValidationError struct {
Code *PisErrorCodesEnum `json:"Code,omitempty"`
Message *string `json:"Message,omitempty"`
AdditionalProperties map[string]interface{} `json:"_"`
}
ValidationError represents a ValidationError struct.
func (ValidationError) MarshalJSON ¶
func (v ValidationError) MarshalJSON() ( []byte, error)
MarshalJSON implements the json.Marshaler interface for ValidationError. It customizes the JSON marshaling process for ValidationError objects.
func (ValidationError) String ¶
func (v ValidationError) String() string
String implements the fmt.Stringer interface for ValidationError, providing a human-readable string representation useful for logging, debugging or displaying information.
func (*ValidationError) UnmarshalJSON ¶
func (v *ValidationError) UnmarshalJSON(input []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ValidationError. It customizes the JSON unmarshaling process for ValidationError objects.
Source Files
¶
- amount_data.go
- api_error_model.go
- apr_data.go
- authorize_authorization_data.go
- authorize_request.go
- authorize_response.go
- billing_address_data.go
- card_details.go
- card_validity_request.go
- card_validity_response.go
- checkout_url_data.go
- content_segment.go
- enums.go
- inline_content.go
- installment_item.go
- installment_plan_details_response.go
- installment_plan_search_details_response.go
- installment_plan_search_request.go
- masked_card_details.go
- metadata_item.go
- o_auth_token.go
- offer_item.go
- offers_billing_address.go
- offers_card_details.go
- offers_merchant_details.go
- offers_payment_method.go
- offers_payment_method_response.go
- offers_request.go
- offers_response.go
- offers_shopper_details.go
- offers_store_location.go
- payment_link_request.go
- payment_link_response.go
- payment_method.go
- payment_method_data.go
- plan_authorization_data.go
- plan_links_data.go
- processing_data.go
- redirect_urls.go
- refund_item.go
- refund_request.go
- refund_response.go
- shopper_details_data.go
- three_ds_authentication_data.go
- three_ds_execute.go
- three_ds_redirect_data.go
- three_ds_request_data.go
- update_offers_payment_method.go
- update_offers_request.go
- update_order_request.go
- update_order_response.go
- utilities.go
- validation_error.go