disputes

package
v16.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptDisputeRequest

type AcceptDisputeRequest struct {
	// The PSP reference assigned to the dispute.
	DisputePspReference string `json:"disputePspReference"`
	// The merchant account identifier, for which you want to process the dispute transaction.
	MerchantAccountCode string `json:"merchantAccountCode"`
}

AcceptDisputeRequest struct for AcceptDisputeRequest

func NewAcceptDisputeRequest

func NewAcceptDisputeRequest(disputePspReference string, merchantAccountCode string) *AcceptDisputeRequest

NewAcceptDisputeRequest instantiates a new AcceptDisputeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAcceptDisputeRequestWithDefaults

func NewAcceptDisputeRequestWithDefaults() *AcceptDisputeRequest

NewAcceptDisputeRequestWithDefaults instantiates a new AcceptDisputeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AcceptDisputeRequest) GetDisputePspReference

func (o *AcceptDisputeRequest) GetDisputePspReference() string

GetDisputePspReference returns the DisputePspReference field value

func (*AcceptDisputeRequest) GetDisputePspReferenceOk

func (o *AcceptDisputeRequest) GetDisputePspReferenceOk() (*string, bool)

GetDisputePspReferenceOk returns a tuple with the DisputePspReference field value and a boolean to check if the value has been set.

func (*AcceptDisputeRequest) GetMerchantAccountCode

func (o *AcceptDisputeRequest) GetMerchantAccountCode() string

GetMerchantAccountCode returns the MerchantAccountCode field value

func (*AcceptDisputeRequest) GetMerchantAccountCodeOk

func (o *AcceptDisputeRequest) GetMerchantAccountCodeOk() (*string, bool)

GetMerchantAccountCodeOk returns a tuple with the MerchantAccountCode field value and a boolean to check if the value has been set.

func (AcceptDisputeRequest) MarshalJSON

func (o AcceptDisputeRequest) MarshalJSON() ([]byte, error)

func (*AcceptDisputeRequest) SetDisputePspReference

func (o *AcceptDisputeRequest) SetDisputePspReference(v string)

SetDisputePspReference sets field value

func (*AcceptDisputeRequest) SetMerchantAccountCode

func (o *AcceptDisputeRequest) SetMerchantAccountCode(v string)

SetMerchantAccountCode sets field value

func (AcceptDisputeRequest) ToMap

func (o AcceptDisputeRequest) ToMap() (map[string]interface{}, error)

type AcceptDisputeResponse

type AcceptDisputeResponse struct {
	DisputeServiceResult DisputeServiceResult `json:"disputeServiceResult"`
}

AcceptDisputeResponse struct for AcceptDisputeResponse

func NewAcceptDisputeResponse

func NewAcceptDisputeResponse(disputeServiceResult DisputeServiceResult) *AcceptDisputeResponse

NewAcceptDisputeResponse instantiates a new AcceptDisputeResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAcceptDisputeResponseWithDefaults

func NewAcceptDisputeResponseWithDefaults() *AcceptDisputeResponse

NewAcceptDisputeResponseWithDefaults instantiates a new AcceptDisputeResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AcceptDisputeResponse) GetDisputeServiceResult

func (o *AcceptDisputeResponse) GetDisputeServiceResult() DisputeServiceResult

GetDisputeServiceResult returns the DisputeServiceResult field value

func (*AcceptDisputeResponse) GetDisputeServiceResultOk

func (o *AcceptDisputeResponse) GetDisputeServiceResultOk() (*DisputeServiceResult, bool)

GetDisputeServiceResultOk returns a tuple with the DisputeServiceResult field value and a boolean to check if the value has been set.

func (AcceptDisputeResponse) MarshalJSON

func (o AcceptDisputeResponse) MarshalJSON() ([]byte, error)

func (*AcceptDisputeResponse) SetDisputeServiceResult

func (o *AcceptDisputeResponse) SetDisputeServiceResult(v DisputeServiceResult)

SetDisputeServiceResult sets field value

func (AcceptDisputeResponse) ToMap

func (o AcceptDisputeResponse) ToMap() (map[string]interface{}, error)

type DefendDisputeRequest

type DefendDisputeRequest struct {
	// The defense reason code that was selected to defend this dispute.
	DefenseReasonCode string `json:"defenseReasonCode"`
	// The PSP reference assigned to the dispute.
	DisputePspReference string `json:"disputePspReference"`
	// The merchant account identifier, for which you want to process the dispute transaction.
	MerchantAccountCode string `json:"merchantAccountCode"`
}

DefendDisputeRequest struct for DefendDisputeRequest

func NewDefendDisputeRequest

func NewDefendDisputeRequest(defenseReasonCode string, disputePspReference string, merchantAccountCode string) *DefendDisputeRequest

NewDefendDisputeRequest instantiates a new DefendDisputeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDefendDisputeRequestWithDefaults

func NewDefendDisputeRequestWithDefaults() *DefendDisputeRequest

NewDefendDisputeRequestWithDefaults instantiates a new DefendDisputeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DefendDisputeRequest) GetDefenseReasonCode

func (o *DefendDisputeRequest) GetDefenseReasonCode() string

GetDefenseReasonCode returns the DefenseReasonCode field value

func (*DefendDisputeRequest) GetDefenseReasonCodeOk

func (o *DefendDisputeRequest) GetDefenseReasonCodeOk() (*string, bool)

GetDefenseReasonCodeOk returns a tuple with the DefenseReasonCode field value and a boolean to check if the value has been set.

func (*DefendDisputeRequest) GetDisputePspReference

func (o *DefendDisputeRequest) GetDisputePspReference() string

GetDisputePspReference returns the DisputePspReference field value

func (*DefendDisputeRequest) GetDisputePspReferenceOk

func (o *DefendDisputeRequest) GetDisputePspReferenceOk() (*string, bool)

GetDisputePspReferenceOk returns a tuple with the DisputePspReference field value and a boolean to check if the value has been set.

func (*DefendDisputeRequest) GetMerchantAccountCode

func (o *DefendDisputeRequest) GetMerchantAccountCode() string

GetMerchantAccountCode returns the MerchantAccountCode field value

func (*DefendDisputeRequest) GetMerchantAccountCodeOk

func (o *DefendDisputeRequest) GetMerchantAccountCodeOk() (*string, bool)

GetMerchantAccountCodeOk returns a tuple with the MerchantAccountCode field value and a boolean to check if the value has been set.

func (DefendDisputeRequest) MarshalJSON

func (o DefendDisputeRequest) MarshalJSON() ([]byte, error)

func (*DefendDisputeRequest) SetDefenseReasonCode

func (o *DefendDisputeRequest) SetDefenseReasonCode(v string)

SetDefenseReasonCode sets field value

func (*DefendDisputeRequest) SetDisputePspReference

func (o *DefendDisputeRequest) SetDisputePspReference(v string)

SetDisputePspReference sets field value

func (*DefendDisputeRequest) SetMerchantAccountCode

func (o *DefendDisputeRequest) SetMerchantAccountCode(v string)

SetMerchantAccountCode sets field value

func (DefendDisputeRequest) ToMap

func (o DefendDisputeRequest) ToMap() (map[string]interface{}, error)

type DefendDisputeResponse

type DefendDisputeResponse struct {
	DisputeServiceResult DisputeServiceResult `json:"disputeServiceResult"`
}

DefendDisputeResponse struct for DefendDisputeResponse

func NewDefendDisputeResponse

func NewDefendDisputeResponse(disputeServiceResult DisputeServiceResult) *DefendDisputeResponse

NewDefendDisputeResponse instantiates a new DefendDisputeResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDefendDisputeResponseWithDefaults

func NewDefendDisputeResponseWithDefaults() *DefendDisputeResponse

NewDefendDisputeResponseWithDefaults instantiates a new DefendDisputeResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DefendDisputeResponse) GetDisputeServiceResult

func (o *DefendDisputeResponse) GetDisputeServiceResult() DisputeServiceResult

GetDisputeServiceResult returns the DisputeServiceResult field value

func (*DefendDisputeResponse) GetDisputeServiceResultOk

func (o *DefendDisputeResponse) GetDisputeServiceResultOk() (*DisputeServiceResult, bool)

GetDisputeServiceResultOk returns a tuple with the DisputeServiceResult field value and a boolean to check if the value has been set.

func (DefendDisputeResponse) MarshalJSON

func (o DefendDisputeResponse) MarshalJSON() ([]byte, error)

func (*DefendDisputeResponse) SetDisputeServiceResult

func (o *DefendDisputeResponse) SetDisputeServiceResult(v DisputeServiceResult)

SetDisputeServiceResult sets field value

func (DefendDisputeResponse) ToMap

func (o DefendDisputeResponse) ToMap() (map[string]interface{}, error)

type DefenseDocument

type DefenseDocument struct {
	// The content of the defense document.
	Content string `json:"content"`
	// The content type of the defense document.
	ContentType string `json:"contentType"`
	// The document type code of the defense document.
	DefenseDocumentTypeCode string `json:"defenseDocumentTypeCode"`
}

DefenseDocument struct for DefenseDocument

func NewDefenseDocument

func NewDefenseDocument(content string, contentType string, defenseDocumentTypeCode string) *DefenseDocument

NewDefenseDocument instantiates a new DefenseDocument object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDefenseDocumentWithDefaults

func NewDefenseDocumentWithDefaults() *DefenseDocument

NewDefenseDocumentWithDefaults instantiates a new DefenseDocument object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DefenseDocument) GetContent

func (o *DefenseDocument) GetContent() string

GetContent returns the Content field value

func (*DefenseDocument) GetContentOk

func (o *DefenseDocument) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.

func (*DefenseDocument) GetContentType

func (o *DefenseDocument) GetContentType() string

GetContentType returns the ContentType field value

func (*DefenseDocument) GetContentTypeOk

func (o *DefenseDocument) GetContentTypeOk() (*string, bool)

GetContentTypeOk returns a tuple with the ContentType field value and a boolean to check if the value has been set.

func (*DefenseDocument) GetDefenseDocumentTypeCode

func (o *DefenseDocument) GetDefenseDocumentTypeCode() string

GetDefenseDocumentTypeCode returns the DefenseDocumentTypeCode field value

func (*DefenseDocument) GetDefenseDocumentTypeCodeOk

func (o *DefenseDocument) GetDefenseDocumentTypeCodeOk() (*string, bool)

GetDefenseDocumentTypeCodeOk returns a tuple with the DefenseDocumentTypeCode field value and a boolean to check if the value has been set.

func (DefenseDocument) MarshalJSON

func (o DefenseDocument) MarshalJSON() ([]byte, error)

func (*DefenseDocument) SetContent

func (o *DefenseDocument) SetContent(v string)

SetContent sets field value

func (*DefenseDocument) SetContentType

func (o *DefenseDocument) SetContentType(v string)

SetContentType sets field value

func (*DefenseDocument) SetDefenseDocumentTypeCode

func (o *DefenseDocument) SetDefenseDocumentTypeCode(v string)

SetDefenseDocumentTypeCode sets field value

func (DefenseDocument) ToMap

func (o DefenseDocument) ToMap() (map[string]interface{}, error)

type DefenseDocumentType

type DefenseDocumentType struct {
	// When **true**, you've successfully uploaded this type of defense document. When **false**, you haven't uploaded this defense document type.
	Available bool `json:"available"`
	// The document type code of the defense document.
	DefenseDocumentTypeCode string `json:"defenseDocumentTypeCode"`
	// Indicates to what extent the defense document is required in the defense process.  Possible values:   * **Required**: You must supply the document.   * **OneOrMore**: You must supply at least one of the documents with this label.  * **Optional**: You can choose to supply the document.  * **AlternativeRequired**: You must supply a generic defense document. To enable this functionality, contact our Support Team. When enabled, you can supply a generic defense document for all schemes.
	RequirementLevel string `json:"requirementLevel"`
}

DefenseDocumentType struct for DefenseDocumentType

func NewDefenseDocumentType

func NewDefenseDocumentType(available bool, defenseDocumentTypeCode string, requirementLevel string) *DefenseDocumentType

NewDefenseDocumentType instantiates a new DefenseDocumentType object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDefenseDocumentTypeWithDefaults

func NewDefenseDocumentTypeWithDefaults() *DefenseDocumentType

NewDefenseDocumentTypeWithDefaults instantiates a new DefenseDocumentType object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DefenseDocumentType) GetAvailable

func (o *DefenseDocumentType) GetAvailable() bool

GetAvailable returns the Available field value

func (*DefenseDocumentType) GetAvailableOk

func (o *DefenseDocumentType) GetAvailableOk() (*bool, bool)

GetAvailableOk returns a tuple with the Available field value and a boolean to check if the value has been set.

func (*DefenseDocumentType) GetDefenseDocumentTypeCode

func (o *DefenseDocumentType) GetDefenseDocumentTypeCode() string

GetDefenseDocumentTypeCode returns the DefenseDocumentTypeCode field value

func (*DefenseDocumentType) GetDefenseDocumentTypeCodeOk

func (o *DefenseDocumentType) GetDefenseDocumentTypeCodeOk() (*string, bool)

GetDefenseDocumentTypeCodeOk returns a tuple with the DefenseDocumentTypeCode field value and a boolean to check if the value has been set.

func (*DefenseDocumentType) GetRequirementLevel

func (o *DefenseDocumentType) GetRequirementLevel() string

GetRequirementLevel returns the RequirementLevel field value

func (*DefenseDocumentType) GetRequirementLevelOk

func (o *DefenseDocumentType) GetRequirementLevelOk() (*string, bool)

GetRequirementLevelOk returns a tuple with the RequirementLevel field value and a boolean to check if the value has been set.

func (DefenseDocumentType) MarshalJSON

func (o DefenseDocumentType) MarshalJSON() ([]byte, error)

func (*DefenseDocumentType) SetAvailable

func (o *DefenseDocumentType) SetAvailable(v bool)

SetAvailable sets field value

func (*DefenseDocumentType) SetDefenseDocumentTypeCode

func (o *DefenseDocumentType) SetDefenseDocumentTypeCode(v string)

SetDefenseDocumentTypeCode sets field value

func (*DefenseDocumentType) SetRequirementLevel

func (o *DefenseDocumentType) SetRequirementLevel(v string)

SetRequirementLevel sets field value

func (DefenseDocumentType) ToMap

func (o DefenseDocumentType) ToMap() (map[string]interface{}, error)

type DefenseReason

type DefenseReason struct {
	// Array of defense document types for a specific defense reason. Indicates the document types that you can submit to the schemes to defend this dispute, and whether they are required.
	DefenseDocumentTypes []DefenseDocumentType `json:"defenseDocumentTypes,omitempty"`
	// The defense reason code that was selected to defend this dispute.
	DefenseReasonCode string `json:"defenseReasonCode"`
	// Indicates if sufficient defense material has been supplied.
	Satisfied bool `json:"satisfied"`
}

DefenseReason struct for DefenseReason

func NewDefenseReason

func NewDefenseReason(defenseReasonCode string, satisfied bool) *DefenseReason

NewDefenseReason instantiates a new DefenseReason object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDefenseReasonWithDefaults

func NewDefenseReasonWithDefaults() *DefenseReason

NewDefenseReasonWithDefaults instantiates a new DefenseReason object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DefenseReason) GetDefenseDocumentTypes

func (o *DefenseReason) GetDefenseDocumentTypes() []DefenseDocumentType

GetDefenseDocumentTypes returns the DefenseDocumentTypes field value if set, zero value otherwise.

func (*DefenseReason) GetDefenseDocumentTypesOk

func (o *DefenseReason) GetDefenseDocumentTypesOk() ([]DefenseDocumentType, bool)

GetDefenseDocumentTypesOk returns a tuple with the DefenseDocumentTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DefenseReason) GetDefenseReasonCode

func (o *DefenseReason) GetDefenseReasonCode() string

GetDefenseReasonCode returns the DefenseReasonCode field value

func (*DefenseReason) GetDefenseReasonCodeOk

func (o *DefenseReason) GetDefenseReasonCodeOk() (*string, bool)

GetDefenseReasonCodeOk returns a tuple with the DefenseReasonCode field value and a boolean to check if the value has been set.

func (*DefenseReason) GetSatisfied

func (o *DefenseReason) GetSatisfied() bool

GetSatisfied returns the Satisfied field value

func (*DefenseReason) GetSatisfiedOk

func (o *DefenseReason) GetSatisfiedOk() (*bool, bool)

GetSatisfiedOk returns a tuple with the Satisfied field value and a boolean to check if the value has been set.

func (*DefenseReason) HasDefenseDocumentTypes

func (o *DefenseReason) HasDefenseDocumentTypes() bool

HasDefenseDocumentTypes returns a boolean if a field has been set.

func (DefenseReason) MarshalJSON

func (o DefenseReason) MarshalJSON() ([]byte, error)

func (*DefenseReason) SetDefenseDocumentTypes

func (o *DefenseReason) SetDefenseDocumentTypes(v []DefenseDocumentType)

SetDefenseDocumentTypes gets a reference to the given []DefenseDocumentType and assigns it to the DefenseDocumentTypes field.

func (*DefenseReason) SetDefenseReasonCode

func (o *DefenseReason) SetDefenseReasonCode(v string)

SetDefenseReasonCode sets field value

func (*DefenseReason) SetSatisfied

func (o *DefenseReason) SetSatisfied(v bool)

SetSatisfied sets field value

func (DefenseReason) ToMap

func (o DefenseReason) ToMap() (map[string]interface{}, error)

type DefenseReasonsRequest

type DefenseReasonsRequest struct {
	// The PSP reference assigned to the dispute.
	DisputePspReference string `json:"disputePspReference"`
	// The merchant account identifier, for which you want to process the dispute transaction.
	MerchantAccountCode string `json:"merchantAccountCode"`
}

DefenseReasonsRequest struct for DefenseReasonsRequest

func NewDefenseReasonsRequest

func NewDefenseReasonsRequest(disputePspReference string, merchantAccountCode string) *DefenseReasonsRequest

NewDefenseReasonsRequest instantiates a new DefenseReasonsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDefenseReasonsRequestWithDefaults

func NewDefenseReasonsRequestWithDefaults() *DefenseReasonsRequest

NewDefenseReasonsRequestWithDefaults instantiates a new DefenseReasonsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DefenseReasonsRequest) GetDisputePspReference

func (o *DefenseReasonsRequest) GetDisputePspReference() string

GetDisputePspReference returns the DisputePspReference field value

func (*DefenseReasonsRequest) GetDisputePspReferenceOk

func (o *DefenseReasonsRequest) GetDisputePspReferenceOk() (*string, bool)

GetDisputePspReferenceOk returns a tuple with the DisputePspReference field value and a boolean to check if the value has been set.

func (*DefenseReasonsRequest) GetMerchantAccountCode

func (o *DefenseReasonsRequest) GetMerchantAccountCode() string

GetMerchantAccountCode returns the MerchantAccountCode field value

func (*DefenseReasonsRequest) GetMerchantAccountCodeOk

func (o *DefenseReasonsRequest) GetMerchantAccountCodeOk() (*string, bool)

GetMerchantAccountCodeOk returns a tuple with the MerchantAccountCode field value and a boolean to check if the value has been set.

func (DefenseReasonsRequest) MarshalJSON

func (o DefenseReasonsRequest) MarshalJSON() ([]byte, error)

func (*DefenseReasonsRequest) SetDisputePspReference

func (o *DefenseReasonsRequest) SetDisputePspReference(v string)

SetDisputePspReference sets field value

func (*DefenseReasonsRequest) SetMerchantAccountCode

func (o *DefenseReasonsRequest) SetMerchantAccountCode(v string)

SetMerchantAccountCode sets field value

func (DefenseReasonsRequest) ToMap

func (o DefenseReasonsRequest) ToMap() (map[string]interface{}, error)

type DefenseReasonsResponse

type DefenseReasonsResponse struct {
	// The defense reasons that can be used to defend the dispute.
	DefenseReasons       []DefenseReason      `json:"defenseReasons,omitempty"`
	DisputeServiceResult DisputeServiceResult `json:"disputeServiceResult"`
}

DefenseReasonsResponse struct for DefenseReasonsResponse

func NewDefenseReasonsResponse

func NewDefenseReasonsResponse(disputeServiceResult DisputeServiceResult) *DefenseReasonsResponse

NewDefenseReasonsResponse instantiates a new DefenseReasonsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDefenseReasonsResponseWithDefaults

func NewDefenseReasonsResponseWithDefaults() *DefenseReasonsResponse

NewDefenseReasonsResponseWithDefaults instantiates a new DefenseReasonsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DefenseReasonsResponse) GetDefenseReasons

func (o *DefenseReasonsResponse) GetDefenseReasons() []DefenseReason

GetDefenseReasons returns the DefenseReasons field value if set, zero value otherwise.

func (*DefenseReasonsResponse) GetDefenseReasonsOk

func (o *DefenseReasonsResponse) GetDefenseReasonsOk() ([]DefenseReason, bool)

GetDefenseReasonsOk returns a tuple with the DefenseReasons field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DefenseReasonsResponse) GetDisputeServiceResult

func (o *DefenseReasonsResponse) GetDisputeServiceResult() DisputeServiceResult

GetDisputeServiceResult returns the DisputeServiceResult field value

func (*DefenseReasonsResponse) GetDisputeServiceResultOk

func (o *DefenseReasonsResponse) GetDisputeServiceResultOk() (*DisputeServiceResult, bool)

GetDisputeServiceResultOk returns a tuple with the DisputeServiceResult field value and a boolean to check if the value has been set.

func (*DefenseReasonsResponse) HasDefenseReasons

func (o *DefenseReasonsResponse) HasDefenseReasons() bool

HasDefenseReasons returns a boolean if a field has been set.

func (DefenseReasonsResponse) MarshalJSON

func (o DefenseReasonsResponse) MarshalJSON() ([]byte, error)

func (*DefenseReasonsResponse) SetDefenseReasons

func (o *DefenseReasonsResponse) SetDefenseReasons(v []DefenseReason)

SetDefenseReasons gets a reference to the given []DefenseReason and assigns it to the DefenseReasons field.

func (*DefenseReasonsResponse) SetDisputeServiceResult

func (o *DefenseReasonsResponse) SetDisputeServiceResult(v DisputeServiceResult)

SetDisputeServiceResult sets field value

func (DefenseReasonsResponse) ToMap

func (o DefenseReasonsResponse) ToMap() (map[string]interface{}, error)

type DeleteDefenseDocumentRequest

type DeleteDefenseDocumentRequest struct {
	// The document type code of the defense document.
	DefenseDocumentType string `json:"defenseDocumentType"`
	// The PSP reference assigned to the dispute.
	DisputePspReference string `json:"disputePspReference"`
	// The merchant account identifier, for which you want to process the dispute transaction.
	MerchantAccountCode string `json:"merchantAccountCode"`
}

DeleteDefenseDocumentRequest struct for DeleteDefenseDocumentRequest

func NewDeleteDefenseDocumentRequest

func NewDeleteDefenseDocumentRequest(defenseDocumentType string, disputePspReference string, merchantAccountCode string) *DeleteDefenseDocumentRequest

NewDeleteDefenseDocumentRequest instantiates a new DeleteDefenseDocumentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeleteDefenseDocumentRequestWithDefaults

func NewDeleteDefenseDocumentRequestWithDefaults() *DeleteDefenseDocumentRequest

NewDeleteDefenseDocumentRequestWithDefaults instantiates a new DeleteDefenseDocumentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeleteDefenseDocumentRequest) GetDefenseDocumentType

func (o *DeleteDefenseDocumentRequest) GetDefenseDocumentType() string

GetDefenseDocumentType returns the DefenseDocumentType field value

func (*DeleteDefenseDocumentRequest) GetDefenseDocumentTypeOk

func (o *DeleteDefenseDocumentRequest) GetDefenseDocumentTypeOk() (*string, bool)

GetDefenseDocumentTypeOk returns a tuple with the DefenseDocumentType field value and a boolean to check if the value has been set.

func (*DeleteDefenseDocumentRequest) GetDisputePspReference

func (o *DeleteDefenseDocumentRequest) GetDisputePspReference() string

GetDisputePspReference returns the DisputePspReference field value

func (*DeleteDefenseDocumentRequest) GetDisputePspReferenceOk

func (o *DeleteDefenseDocumentRequest) GetDisputePspReferenceOk() (*string, bool)

GetDisputePspReferenceOk returns a tuple with the DisputePspReference field value and a boolean to check if the value has been set.

func (*DeleteDefenseDocumentRequest) GetMerchantAccountCode

func (o *DeleteDefenseDocumentRequest) GetMerchantAccountCode() string

GetMerchantAccountCode returns the MerchantAccountCode field value

func (*DeleteDefenseDocumentRequest) GetMerchantAccountCodeOk

func (o *DeleteDefenseDocumentRequest) GetMerchantAccountCodeOk() (*string, bool)

GetMerchantAccountCodeOk returns a tuple with the MerchantAccountCode field value and a boolean to check if the value has been set.

func (DeleteDefenseDocumentRequest) MarshalJSON

func (o DeleteDefenseDocumentRequest) MarshalJSON() ([]byte, error)

func (*DeleteDefenseDocumentRequest) SetDefenseDocumentType

func (o *DeleteDefenseDocumentRequest) SetDefenseDocumentType(v string)

SetDefenseDocumentType sets field value

func (*DeleteDefenseDocumentRequest) SetDisputePspReference

func (o *DeleteDefenseDocumentRequest) SetDisputePspReference(v string)

SetDisputePspReference sets field value

func (*DeleteDefenseDocumentRequest) SetMerchantAccountCode

func (o *DeleteDefenseDocumentRequest) SetMerchantAccountCode(v string)

SetMerchantAccountCode sets field value

func (DeleteDefenseDocumentRequest) ToMap

func (o DeleteDefenseDocumentRequest) ToMap() (map[string]interface{}, error)

type DeleteDefenseDocumentResponse

type DeleteDefenseDocumentResponse struct {
	DisputeServiceResult DisputeServiceResult `json:"disputeServiceResult"`
}

DeleteDefenseDocumentResponse struct for DeleteDefenseDocumentResponse

func NewDeleteDefenseDocumentResponse

func NewDeleteDefenseDocumentResponse(disputeServiceResult DisputeServiceResult) *DeleteDefenseDocumentResponse

NewDeleteDefenseDocumentResponse instantiates a new DeleteDefenseDocumentResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeleteDefenseDocumentResponseWithDefaults

func NewDeleteDefenseDocumentResponseWithDefaults() *DeleteDefenseDocumentResponse

NewDeleteDefenseDocumentResponseWithDefaults instantiates a new DeleteDefenseDocumentResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeleteDefenseDocumentResponse) GetDisputeServiceResult

func (o *DeleteDefenseDocumentResponse) GetDisputeServiceResult() DisputeServiceResult

GetDisputeServiceResult returns the DisputeServiceResult field value

func (*DeleteDefenseDocumentResponse) GetDisputeServiceResultOk

func (o *DeleteDefenseDocumentResponse) GetDisputeServiceResultOk() (*DisputeServiceResult, bool)

GetDisputeServiceResultOk returns a tuple with the DisputeServiceResult field value and a boolean to check if the value has been set.

func (DeleteDefenseDocumentResponse) MarshalJSON

func (o DeleteDefenseDocumentResponse) MarshalJSON() ([]byte, error)

func (*DeleteDefenseDocumentResponse) SetDisputeServiceResult

func (o *DeleteDefenseDocumentResponse) SetDisputeServiceResult(v DisputeServiceResult)

SetDisputeServiceResult sets field value

func (DeleteDefenseDocumentResponse) ToMap

func (o DeleteDefenseDocumentResponse) ToMap() (map[string]interface{}, error)

type DisputeServiceResult

type DisputeServiceResult struct {
	// The general error message.
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// Indicates whether the request succeeded.
	Success bool `json:"success"`
}

DisputeServiceResult struct for DisputeServiceResult

func NewDisputeServiceResult

func NewDisputeServiceResult(success bool) *DisputeServiceResult

NewDisputeServiceResult instantiates a new DisputeServiceResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDisputeServiceResultWithDefaults

func NewDisputeServiceResultWithDefaults() *DisputeServiceResult

NewDisputeServiceResultWithDefaults instantiates a new DisputeServiceResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DisputeServiceResult) GetErrorMessage

func (o *DisputeServiceResult) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*DisputeServiceResult) GetErrorMessageOk

func (o *DisputeServiceResult) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DisputeServiceResult) GetSuccess

func (o *DisputeServiceResult) GetSuccess() bool

GetSuccess returns the Success field value

func (*DisputeServiceResult) GetSuccessOk

func (o *DisputeServiceResult) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.

func (*DisputeServiceResult) HasErrorMessage

func (o *DisputeServiceResult) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (DisputeServiceResult) MarshalJSON

func (o DisputeServiceResult) MarshalJSON() ([]byte, error)

func (*DisputeServiceResult) SetErrorMessage

func (o *DisputeServiceResult) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*DisputeServiceResult) SetSuccess

func (o *DisputeServiceResult) SetSuccess(v bool)

SetSuccess sets field value

func (DisputeServiceResult) ToMap

func (o DisputeServiceResult) ToMap() (map[string]interface{}, error)

type GeneralApi

type GeneralApi common.Service

GeneralApi service

func (*GeneralApi) AcceptDispute

AcceptDispute Accept a dispute

Accepts a specific dispute.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiAcceptDisputeInput - Request parameters, see AcceptDisputeInput @return AcceptDisputeResponse, *http.Response, error

func (*GeneralApi) AcceptDisputeInput

func (a *GeneralApi) AcceptDisputeInput() GeneralApiAcceptDisputeInput

Prepare a request for AcceptDispute

@return GeneralApiAcceptDisputeInput

func (*GeneralApi) DefendDispute

DefendDispute Defend a dispute

Defends a specific dispute.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiDefendDisputeInput - Request parameters, see DefendDisputeInput @return DefendDisputeResponse, *http.Response, error

func (*GeneralApi) DefendDisputeInput

func (a *GeneralApi) DefendDisputeInput() GeneralApiDefendDisputeInput

Prepare a request for DefendDispute

@return GeneralApiDefendDisputeInput

func (*GeneralApi) DeleteDisputeDefenseDocument

DeleteDisputeDefenseDocument Delete a defense document

Deletes a specific dispute defense document that was supplied earlier.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiDeleteDisputeDefenseDocumentInput - Request parameters, see DeleteDisputeDefenseDocumentInput @return DeleteDefenseDocumentResponse, *http.Response, error

func (*GeneralApi) DeleteDisputeDefenseDocumentInput

func (a *GeneralApi) DeleteDisputeDefenseDocumentInput() GeneralApiDeleteDisputeDefenseDocumentInput

Prepare a request for DeleteDisputeDefenseDocument

@return GeneralApiDeleteDisputeDefenseDocumentInput

func (*GeneralApi) RetrieveApplicableDefenseReasons

RetrieveApplicableDefenseReasons Get applicable defense reasons

Returns a list of all applicable defense reasons to defend a specific dispute.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiRetrieveApplicableDefenseReasonsInput - Request parameters, see RetrieveApplicableDefenseReasonsInput @return DefenseReasonsResponse, *http.Response, error

func (*GeneralApi) RetrieveApplicableDefenseReasonsInput

func (a *GeneralApi) RetrieveApplicableDefenseReasonsInput() GeneralApiRetrieveApplicableDefenseReasonsInput

Prepare a request for RetrieveApplicableDefenseReasons

@return GeneralApiRetrieveApplicableDefenseReasonsInput

func (*GeneralApi) SupplyDefenseDocument

SupplyDefenseDocument Supply a defense document

Supplies a specific dispute defense document.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiSupplyDefenseDocumentInput - Request parameters, see SupplyDefenseDocumentInput @return SupplyDefenseDocumentResponse, *http.Response, error

func (*GeneralApi) SupplyDefenseDocumentInput

func (a *GeneralApi) SupplyDefenseDocumentInput() GeneralApiSupplyDefenseDocumentInput

Prepare a request for SupplyDefenseDocument

@return GeneralApiSupplyDefenseDocumentInput

type GeneralApiAcceptDisputeInput

type GeneralApiAcceptDisputeInput struct {
	// contains filtered or unexported fields
}

All parameters accepted by GeneralApi.AcceptDispute

func (GeneralApiAcceptDisputeInput) AcceptDisputeRequest

func (r GeneralApiAcceptDisputeInput) AcceptDisputeRequest(acceptDisputeRequest AcceptDisputeRequest) GeneralApiAcceptDisputeInput

type GeneralApiDefendDisputeInput

type GeneralApiDefendDisputeInput struct {
	// contains filtered or unexported fields
}

All parameters accepted by GeneralApi.DefendDispute

func (GeneralApiDefendDisputeInput) DefendDisputeRequest

func (r GeneralApiDefendDisputeInput) DefendDisputeRequest(defendDisputeRequest DefendDisputeRequest) GeneralApiDefendDisputeInput

type GeneralApiDeleteDisputeDefenseDocumentInput

type GeneralApiDeleteDisputeDefenseDocumentInput struct {
	// contains filtered or unexported fields
}

All parameters accepted by GeneralApi.DeleteDisputeDefenseDocument

func (GeneralApiDeleteDisputeDefenseDocumentInput) DeleteDefenseDocumentRequest

type GeneralApiRetrieveApplicableDefenseReasonsInput

type GeneralApiRetrieveApplicableDefenseReasonsInput struct {
	// contains filtered or unexported fields
}

All parameters accepted by GeneralApi.RetrieveApplicableDefenseReasons

func (GeneralApiRetrieveApplicableDefenseReasonsInput) DefenseReasonsRequest

type GeneralApiSupplyDefenseDocumentInput

type GeneralApiSupplyDefenseDocumentInput struct {
	// contains filtered or unexported fields
}

All parameters accepted by GeneralApi.SupplyDefenseDocument

func (GeneralApiSupplyDefenseDocumentInput) SupplyDefenseDocumentRequest

func (r GeneralApiSupplyDefenseDocumentInput) SupplyDefenseDocumentRequest(supplyDefenseDocumentRequest SupplyDefenseDocumentRequest) GeneralApiSupplyDefenseDocumentInput

type NullableAcceptDisputeRequest

type NullableAcceptDisputeRequest struct {
	// contains filtered or unexported fields
}

func NewNullableAcceptDisputeRequest

func NewNullableAcceptDisputeRequest(val *AcceptDisputeRequest) *NullableAcceptDisputeRequest

func (NullableAcceptDisputeRequest) Get

func (NullableAcceptDisputeRequest) IsSet

func (NullableAcceptDisputeRequest) MarshalJSON

func (v NullableAcceptDisputeRequest) MarshalJSON() ([]byte, error)

func (*NullableAcceptDisputeRequest) Set

func (*NullableAcceptDisputeRequest) UnmarshalJSON

func (v *NullableAcceptDisputeRequest) UnmarshalJSON(src []byte) error

func (*NullableAcceptDisputeRequest) Unset

func (v *NullableAcceptDisputeRequest) Unset()

type NullableAcceptDisputeResponse

type NullableAcceptDisputeResponse struct {
	// contains filtered or unexported fields
}

func (NullableAcceptDisputeResponse) Get

func (NullableAcceptDisputeResponse) IsSet

func (NullableAcceptDisputeResponse) MarshalJSON

func (v NullableAcceptDisputeResponse) MarshalJSON() ([]byte, error)

func (*NullableAcceptDisputeResponse) Set

func (*NullableAcceptDisputeResponse) UnmarshalJSON

func (v *NullableAcceptDisputeResponse) UnmarshalJSON(src []byte) error

func (*NullableAcceptDisputeResponse) Unset

func (v *NullableAcceptDisputeResponse) Unset()

type NullableDefendDisputeRequest

type NullableDefendDisputeRequest struct {
	// contains filtered or unexported fields
}

func NewNullableDefendDisputeRequest

func NewNullableDefendDisputeRequest(val *DefendDisputeRequest) *NullableDefendDisputeRequest

func (NullableDefendDisputeRequest) Get

func (NullableDefendDisputeRequest) IsSet

func (NullableDefendDisputeRequest) MarshalJSON

func (v NullableDefendDisputeRequest) MarshalJSON() ([]byte, error)

func (*NullableDefendDisputeRequest) Set

func (*NullableDefendDisputeRequest) UnmarshalJSON

func (v *NullableDefendDisputeRequest) UnmarshalJSON(src []byte) error

func (*NullableDefendDisputeRequest) Unset

func (v *NullableDefendDisputeRequest) Unset()

type NullableDefendDisputeResponse

type NullableDefendDisputeResponse struct {
	// contains filtered or unexported fields
}

func (NullableDefendDisputeResponse) Get

func (NullableDefendDisputeResponse) IsSet

func (NullableDefendDisputeResponse) MarshalJSON

func (v NullableDefendDisputeResponse) MarshalJSON() ([]byte, error)

func (*NullableDefendDisputeResponse) Set

func (*NullableDefendDisputeResponse) UnmarshalJSON

func (v *NullableDefendDisputeResponse) UnmarshalJSON(src []byte) error

func (*NullableDefendDisputeResponse) Unset

func (v *NullableDefendDisputeResponse) Unset()

type NullableDefenseDocument

type NullableDefenseDocument struct {
	// contains filtered or unexported fields
}

func NewNullableDefenseDocument

func NewNullableDefenseDocument(val *DefenseDocument) *NullableDefenseDocument

func (NullableDefenseDocument) Get

func (NullableDefenseDocument) IsSet

func (v NullableDefenseDocument) IsSet() bool

func (NullableDefenseDocument) MarshalJSON

func (v NullableDefenseDocument) MarshalJSON() ([]byte, error)

func (*NullableDefenseDocument) Set

func (*NullableDefenseDocument) UnmarshalJSON

func (v *NullableDefenseDocument) UnmarshalJSON(src []byte) error

func (*NullableDefenseDocument) Unset

func (v *NullableDefenseDocument) Unset()

type NullableDefenseDocumentType

type NullableDefenseDocumentType struct {
	// contains filtered or unexported fields
}

func NewNullableDefenseDocumentType

func NewNullableDefenseDocumentType(val *DefenseDocumentType) *NullableDefenseDocumentType

func (NullableDefenseDocumentType) Get

func (NullableDefenseDocumentType) IsSet

func (NullableDefenseDocumentType) MarshalJSON

func (v NullableDefenseDocumentType) MarshalJSON() ([]byte, error)

func (*NullableDefenseDocumentType) Set

func (*NullableDefenseDocumentType) UnmarshalJSON

func (v *NullableDefenseDocumentType) UnmarshalJSON(src []byte) error

func (*NullableDefenseDocumentType) Unset

func (v *NullableDefenseDocumentType) Unset()

type NullableDefenseReason

type NullableDefenseReason struct {
	// contains filtered or unexported fields
}

func NewNullableDefenseReason

func NewNullableDefenseReason(val *DefenseReason) *NullableDefenseReason

func (NullableDefenseReason) Get

func (NullableDefenseReason) IsSet

func (v NullableDefenseReason) IsSet() bool

func (NullableDefenseReason) MarshalJSON

func (v NullableDefenseReason) MarshalJSON() ([]byte, error)

func (*NullableDefenseReason) Set

func (v *NullableDefenseReason) Set(val *DefenseReason)

func (*NullableDefenseReason) UnmarshalJSON

func (v *NullableDefenseReason) UnmarshalJSON(src []byte) error

func (*NullableDefenseReason) Unset

func (v *NullableDefenseReason) Unset()

type NullableDefenseReasonsRequest

type NullableDefenseReasonsRequest struct {
	// contains filtered or unexported fields
}

func (NullableDefenseReasonsRequest) Get

func (NullableDefenseReasonsRequest) IsSet

func (NullableDefenseReasonsRequest) MarshalJSON

func (v NullableDefenseReasonsRequest) MarshalJSON() ([]byte, error)

func (*NullableDefenseReasonsRequest) Set

func (*NullableDefenseReasonsRequest) UnmarshalJSON

func (v *NullableDefenseReasonsRequest) UnmarshalJSON(src []byte) error

func (*NullableDefenseReasonsRequest) Unset

func (v *NullableDefenseReasonsRequest) Unset()

type NullableDefenseReasonsResponse

type NullableDefenseReasonsResponse struct {
	// contains filtered or unexported fields
}

func (NullableDefenseReasonsResponse) Get

func (NullableDefenseReasonsResponse) IsSet

func (NullableDefenseReasonsResponse) MarshalJSON

func (v NullableDefenseReasonsResponse) MarshalJSON() ([]byte, error)

func (*NullableDefenseReasonsResponse) Set

func (*NullableDefenseReasonsResponse) UnmarshalJSON

func (v *NullableDefenseReasonsResponse) UnmarshalJSON(src []byte) error

func (*NullableDefenseReasonsResponse) Unset

func (v *NullableDefenseReasonsResponse) Unset()

type NullableDeleteDefenseDocumentRequest

type NullableDeleteDefenseDocumentRequest struct {
	// contains filtered or unexported fields
}

func (NullableDeleteDefenseDocumentRequest) Get

func (NullableDeleteDefenseDocumentRequest) IsSet

func (NullableDeleteDefenseDocumentRequest) MarshalJSON

func (v NullableDeleteDefenseDocumentRequest) MarshalJSON() ([]byte, error)

func (*NullableDeleteDefenseDocumentRequest) Set

func (*NullableDeleteDefenseDocumentRequest) UnmarshalJSON

func (v *NullableDeleteDefenseDocumentRequest) UnmarshalJSON(src []byte) error

func (*NullableDeleteDefenseDocumentRequest) Unset

type NullableDeleteDefenseDocumentResponse

type NullableDeleteDefenseDocumentResponse struct {
	// contains filtered or unexported fields
}

func (NullableDeleteDefenseDocumentResponse) Get

func (NullableDeleteDefenseDocumentResponse) IsSet

func (NullableDeleteDefenseDocumentResponse) MarshalJSON

func (v NullableDeleteDefenseDocumentResponse) MarshalJSON() ([]byte, error)

func (*NullableDeleteDefenseDocumentResponse) Set

func (*NullableDeleteDefenseDocumentResponse) UnmarshalJSON

func (v *NullableDeleteDefenseDocumentResponse) UnmarshalJSON(src []byte) error

func (*NullableDeleteDefenseDocumentResponse) Unset

type NullableDisputeServiceResult

type NullableDisputeServiceResult struct {
	// contains filtered or unexported fields
}

func NewNullableDisputeServiceResult

func NewNullableDisputeServiceResult(val *DisputeServiceResult) *NullableDisputeServiceResult

func (NullableDisputeServiceResult) Get

func (NullableDisputeServiceResult) IsSet

func (NullableDisputeServiceResult) MarshalJSON

func (v NullableDisputeServiceResult) MarshalJSON() ([]byte, error)

func (*NullableDisputeServiceResult) Set

func (*NullableDisputeServiceResult) UnmarshalJSON

func (v *NullableDisputeServiceResult) UnmarshalJSON(src []byte) error

func (*NullableDisputeServiceResult) Unset

func (v *NullableDisputeServiceResult) Unset()

type NullableServiceError

type NullableServiceError struct {
	// contains filtered or unexported fields
}

func NewNullableServiceError

func NewNullableServiceError(val *ServiceError) *NullableServiceError

func (NullableServiceError) Get

func (NullableServiceError) IsSet

func (v NullableServiceError) IsSet() bool

func (NullableServiceError) MarshalJSON

func (v NullableServiceError) MarshalJSON() ([]byte, error)

func (*NullableServiceError) Set

func (v *NullableServiceError) Set(val *ServiceError)

func (*NullableServiceError) UnmarshalJSON

func (v *NullableServiceError) UnmarshalJSON(src []byte) error

func (*NullableServiceError) Unset

func (v *NullableServiceError) Unset()

type NullableSupplyDefenseDocumentRequest

type NullableSupplyDefenseDocumentRequest struct {
	// contains filtered or unexported fields
}

func (NullableSupplyDefenseDocumentRequest) Get

func (NullableSupplyDefenseDocumentRequest) IsSet

func (NullableSupplyDefenseDocumentRequest) MarshalJSON

func (v NullableSupplyDefenseDocumentRequest) MarshalJSON() ([]byte, error)

func (*NullableSupplyDefenseDocumentRequest) Set

func (*NullableSupplyDefenseDocumentRequest) UnmarshalJSON

func (v *NullableSupplyDefenseDocumentRequest) UnmarshalJSON(src []byte) error

func (*NullableSupplyDefenseDocumentRequest) Unset

type NullableSupplyDefenseDocumentResponse

type NullableSupplyDefenseDocumentResponse struct {
	// contains filtered or unexported fields
}

func (NullableSupplyDefenseDocumentResponse) Get

func (NullableSupplyDefenseDocumentResponse) IsSet

func (NullableSupplyDefenseDocumentResponse) MarshalJSON

func (v NullableSupplyDefenseDocumentResponse) MarshalJSON() ([]byte, error)

func (*NullableSupplyDefenseDocumentResponse) Set

func (*NullableSupplyDefenseDocumentResponse) UnmarshalJSON

func (v *NullableSupplyDefenseDocumentResponse) UnmarshalJSON(src []byte) error

func (*NullableSupplyDefenseDocumentResponse) Unset

type ServiceError

type ServiceError struct {
	// The error code mapped to the error message.
	ErrorCode *string `json:"errorCode,omitempty"`
	// The category of the error.
	ErrorType *string `json:"errorType,omitempty"`
	// A short explanation of the issue.
	Message *string `json:"message,omitempty"`
	// The PSP reference of the payment.
	PspReference *string `json:"pspReference,omitempty"`
	// The HTTP response status.
	Status *int32 `json:"status,omitempty"`
}

ServiceError struct for ServiceError

func NewServiceError

func NewServiceError() *ServiceError

NewServiceError instantiates a new ServiceError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceErrorWithDefaults

func NewServiceErrorWithDefaults() *ServiceError

NewServiceErrorWithDefaults instantiates a new ServiceError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceError) GetErrorCode

func (o *ServiceError) GetErrorCode() string

GetErrorCode returns the ErrorCode field value if set, zero value otherwise.

func (*ServiceError) GetErrorCodeOk

func (o *ServiceError) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceError) GetErrorType

func (o *ServiceError) GetErrorType() string

GetErrorType returns the ErrorType field value if set, zero value otherwise.

func (*ServiceError) GetErrorTypeOk

func (o *ServiceError) GetErrorTypeOk() (*string, bool)

GetErrorTypeOk returns a tuple with the ErrorType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceError) GetMessage

func (o *ServiceError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ServiceError) GetMessageOk

func (o *ServiceError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceError) GetPspReference

func (o *ServiceError) GetPspReference() string

GetPspReference returns the PspReference field value if set, zero value otherwise.

func (*ServiceError) GetPspReferenceOk

func (o *ServiceError) GetPspReferenceOk() (*string, bool)

GetPspReferenceOk returns a tuple with the PspReference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceError) GetStatus

func (o *ServiceError) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*ServiceError) GetStatusOk

func (o *ServiceError) GetStatusOk() (*int32, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceError) HasErrorCode

func (o *ServiceError) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ServiceError) HasErrorType

func (o *ServiceError) HasErrorType() bool

HasErrorType returns a boolean if a field has been set.

func (*ServiceError) HasMessage

func (o *ServiceError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ServiceError) HasPspReference

func (o *ServiceError) HasPspReference() bool

HasPspReference returns a boolean if a field has been set.

func (*ServiceError) HasStatus

func (o *ServiceError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ServiceError) MarshalJSON

func (o ServiceError) MarshalJSON() ([]byte, error)

func (*ServiceError) SetErrorCode

func (o *ServiceError) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ServiceError) SetErrorType

func (o *ServiceError) SetErrorType(v string)

SetErrorType gets a reference to the given string and assigns it to the ErrorType field.

func (*ServiceError) SetMessage

func (o *ServiceError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ServiceError) SetPspReference

func (o *ServiceError) SetPspReference(v string)

SetPspReference gets a reference to the given string and assigns it to the PspReference field.

func (*ServiceError) SetStatus

func (o *ServiceError) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (ServiceError) ToMap

func (o ServiceError) ToMap() (map[string]interface{}, error)

type SupplyDefenseDocumentRequest

type SupplyDefenseDocumentRequest struct {
	// An array containing a list of the defense documents.
	DefenseDocuments []DefenseDocument `json:"defenseDocuments"`
	// The PSP reference assigned to the dispute.
	DisputePspReference string `json:"disputePspReference"`
	// The merchant account identifier, for which you want to process the dispute transaction.
	MerchantAccountCode string `json:"merchantAccountCode"`
}

SupplyDefenseDocumentRequest struct for SupplyDefenseDocumentRequest

func NewSupplyDefenseDocumentRequest

func NewSupplyDefenseDocumentRequest(defenseDocuments []DefenseDocument, disputePspReference string, merchantAccountCode string) *SupplyDefenseDocumentRequest

NewSupplyDefenseDocumentRequest instantiates a new SupplyDefenseDocumentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSupplyDefenseDocumentRequestWithDefaults

func NewSupplyDefenseDocumentRequestWithDefaults() *SupplyDefenseDocumentRequest

NewSupplyDefenseDocumentRequestWithDefaults instantiates a new SupplyDefenseDocumentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SupplyDefenseDocumentRequest) GetDefenseDocuments

func (o *SupplyDefenseDocumentRequest) GetDefenseDocuments() []DefenseDocument

GetDefenseDocuments returns the DefenseDocuments field value

func (*SupplyDefenseDocumentRequest) GetDefenseDocumentsOk

func (o *SupplyDefenseDocumentRequest) GetDefenseDocumentsOk() ([]DefenseDocument, bool)

GetDefenseDocumentsOk returns a tuple with the DefenseDocuments field value and a boolean to check if the value has been set.

func (*SupplyDefenseDocumentRequest) GetDisputePspReference

func (o *SupplyDefenseDocumentRequest) GetDisputePspReference() string

GetDisputePspReference returns the DisputePspReference field value

func (*SupplyDefenseDocumentRequest) GetDisputePspReferenceOk

func (o *SupplyDefenseDocumentRequest) GetDisputePspReferenceOk() (*string, bool)

GetDisputePspReferenceOk returns a tuple with the DisputePspReference field value and a boolean to check if the value has been set.

func (*SupplyDefenseDocumentRequest) GetMerchantAccountCode

func (o *SupplyDefenseDocumentRequest) GetMerchantAccountCode() string

GetMerchantAccountCode returns the MerchantAccountCode field value

func (*SupplyDefenseDocumentRequest) GetMerchantAccountCodeOk

func (o *SupplyDefenseDocumentRequest) GetMerchantAccountCodeOk() (*string, bool)

GetMerchantAccountCodeOk returns a tuple with the MerchantAccountCode field value and a boolean to check if the value has been set.

func (SupplyDefenseDocumentRequest) MarshalJSON

func (o SupplyDefenseDocumentRequest) MarshalJSON() ([]byte, error)

func (*SupplyDefenseDocumentRequest) SetDefenseDocuments

func (o *SupplyDefenseDocumentRequest) SetDefenseDocuments(v []DefenseDocument)

SetDefenseDocuments sets field value

func (*SupplyDefenseDocumentRequest) SetDisputePspReference

func (o *SupplyDefenseDocumentRequest) SetDisputePspReference(v string)

SetDisputePspReference sets field value

func (*SupplyDefenseDocumentRequest) SetMerchantAccountCode

func (o *SupplyDefenseDocumentRequest) SetMerchantAccountCode(v string)

SetMerchantAccountCode sets field value

func (SupplyDefenseDocumentRequest) ToMap

func (o SupplyDefenseDocumentRequest) ToMap() (map[string]interface{}, error)

type SupplyDefenseDocumentResponse

type SupplyDefenseDocumentResponse struct {
	DisputeServiceResult DisputeServiceResult `json:"disputeServiceResult"`
}

SupplyDefenseDocumentResponse struct for SupplyDefenseDocumentResponse

func NewSupplyDefenseDocumentResponse

func NewSupplyDefenseDocumentResponse(disputeServiceResult DisputeServiceResult) *SupplyDefenseDocumentResponse

NewSupplyDefenseDocumentResponse instantiates a new SupplyDefenseDocumentResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSupplyDefenseDocumentResponseWithDefaults

func NewSupplyDefenseDocumentResponseWithDefaults() *SupplyDefenseDocumentResponse

NewSupplyDefenseDocumentResponseWithDefaults instantiates a new SupplyDefenseDocumentResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SupplyDefenseDocumentResponse) GetDisputeServiceResult

func (o *SupplyDefenseDocumentResponse) GetDisputeServiceResult() DisputeServiceResult

GetDisputeServiceResult returns the DisputeServiceResult field value

func (*SupplyDefenseDocumentResponse) GetDisputeServiceResultOk

func (o *SupplyDefenseDocumentResponse) GetDisputeServiceResultOk() (*DisputeServiceResult, bool)

GetDisputeServiceResultOk returns a tuple with the DisputeServiceResult field value and a boolean to check if the value has been set.

func (SupplyDefenseDocumentResponse) MarshalJSON

func (o SupplyDefenseDocumentResponse) MarshalJSON() ([]byte, error)

func (*SupplyDefenseDocumentResponse) SetDisputeServiceResult

func (o *SupplyDefenseDocumentResponse) SetDisputeServiceResult(v DisputeServiceResult)

SetDisputeServiceResult sets field value

func (SupplyDefenseDocumentResponse) ToMap

func (o SupplyDefenseDocumentResponse) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL