Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRequest ¶
type CreateRequest struct { AmountOfMoney *definitions.AmountOfMoney `json:"amountOfMoney,omitempty"` ContactPerson *string `json:"contactPerson,omitempty"` EmailAddress *string `json:"emailAddress,omitempty"` ReplyTo *string `json:"replyTo,omitempty"` RequestMessage *string `json:"requestMessage,omitempty"` }
CreateRequest represents class CreateDisputeRequest
func NewCreateRequest ¶
func NewCreateRequest() *CreateRequest
NewCreateRequest constructs a new CreateRequest
type CreationDetail ¶
type CreationDetail struct { DisputeCreationDate *string `json:"disputeCreationDate,omitempty"` DisputeOriginator *string `json:"disputeOriginator,omitempty"` UserName *string `json:"userName,omitempty"` }
CreationDetail represents class DisputeCreationDetail
func NewCreationDetail ¶
func NewCreationDetail() *CreationDetail
NewCreationDetail constructs a new CreationDetail
type Dispute ¶
type Dispute struct { DisputeOutput *Output `json:"disputeOutput,omitempty"` ID *string `json:"id,omitempty"` PaymentID *string `json:"paymentId,omitempty"` Status *string `json:"status,omitempty"` StatusOutput *StatusOutput `json:"statusOutput,omitempty"` }
Dispute represents class Dispute
type DisputesResponse ¶
type DisputesResponse struct {
Disputes *[]Dispute `json:"disputes,omitempty"`
}
DisputesResponse represents class DisputesResponse
func NewDisputesResponse ¶
func NewDisputesResponse() *DisputesResponse
NewDisputesResponse constructs a new DisputesResponse
type Output ¶
type Output struct { AmountOfMoney *definitions.AmountOfMoney `json:"amountOfMoney,omitempty"` ContactPerson *string `json:"contactPerson,omitempty"` CreationDetails *CreationDetail `json:"creationDetails,omitempty"` EmailAddress *string `json:"emailAddress,omitempty"` Files *[]file.HostedFile `json:"files,omitempty"` Reference *Reference `json:"reference,omitempty"` ReplyTo *string `json:"replyTo,omitempty"` RequestMessage *string `json:"requestMessage,omitempty"` ResponseMessage *string `json:"responseMessage,omitempty"` }
Output represents class DisputeOutput
type Reference ¶
type Reference struct { MerchantOrderID *string `json:"merchantOrderId,omitempty"` MerchantReference *string `json:"merchantReference,omitempty"` PaymentReference *string `json:"paymentReference,omitempty"` ProviderID *string `json:"providerId,omitempty"` ProviderReference *string `json:"providerReference,omitempty"` }
Reference represents class DisputeReference
type Response ¶
type Response struct { DisputeOutput *Output `json:"disputeOutput,omitempty"` ID *string `json:"id,omitempty"` PaymentID *string `json:"paymentId,omitempty"` Status *string `json:"status,omitempty"` StatusOutput *StatusOutput `json:"statusOutput,omitempty"` }
Response represents class DisputeResponse
type StatusOutput ¶
type StatusOutput struct { IsCancellable *bool `json:"isCancellable,omitempty"` StatusCategory *string `json:"statusCategory,omitempty"` StatusCode *int32 `json:"statusCode,omitempty"` StatusCodeChangeDateTime *string `json:"statusCodeChangeDateTime,omitempty"` }
StatusOutput represents class DisputeStatusOutput
func NewStatusOutput ¶
func NewStatusOutput() *StatusOutput
NewStatusOutput constructs a new StatusOutput
type UploadDisputeFileResponse ¶
type UploadDisputeFileResponse struct { DisputeID *string `json:"disputeId,omitempty"` FileID *string `json:"fileId,omitempty"` }
UploadDisputeFileResponse represents class UploadDisputeFileResponse
func NewUploadDisputeFileResponse ¶
func NewUploadDisputeFileResponse() *UploadDisputeFileResponse
NewUploadDisputeFileResponse constructs a new UploadDisputeFileResponse