Documentation ¶
Index ¶
- type AcceptDisputeRequest
- func (o *AcceptDisputeRequest) GetDisputePspReference() string
- func (o *AcceptDisputeRequest) GetDisputePspReferenceOk() (*string, bool)
- func (o *AcceptDisputeRequest) GetMerchantAccountCode() string
- func (o *AcceptDisputeRequest) GetMerchantAccountCodeOk() (*string, bool)
- func (o AcceptDisputeRequest) MarshalJSON() ([]byte, error)
- func (o *AcceptDisputeRequest) SetDisputePspReference(v string)
- func (o *AcceptDisputeRequest) SetMerchantAccountCode(v string)
- func (o AcceptDisputeRequest) ToMap() (map[string]interface{}, error)
- type AcceptDisputeResponse
- func (o *AcceptDisputeResponse) GetDisputeServiceResult() DisputeServiceResult
- func (o *AcceptDisputeResponse) GetDisputeServiceResultOk() (*DisputeServiceResult, bool)
- func (o AcceptDisputeResponse) MarshalJSON() ([]byte, error)
- func (o *AcceptDisputeResponse) SetDisputeServiceResult(v DisputeServiceResult)
- func (o AcceptDisputeResponse) ToMap() (map[string]interface{}, error)
- type DefendDisputeRequest
- func (o *DefendDisputeRequest) GetDefenseReasonCode() string
- func (o *DefendDisputeRequest) GetDefenseReasonCodeOk() (*string, bool)
- func (o *DefendDisputeRequest) GetDisputePspReference() string
- func (o *DefendDisputeRequest) GetDisputePspReferenceOk() (*string, bool)
- func (o *DefendDisputeRequest) GetMerchantAccountCode() string
- func (o *DefendDisputeRequest) GetMerchantAccountCodeOk() (*string, bool)
- func (o DefendDisputeRequest) MarshalJSON() ([]byte, error)
- func (o *DefendDisputeRequest) SetDefenseReasonCode(v string)
- func (o *DefendDisputeRequest) SetDisputePspReference(v string)
- func (o *DefendDisputeRequest) SetMerchantAccountCode(v string)
- func (o DefendDisputeRequest) ToMap() (map[string]interface{}, error)
- type DefendDisputeResponse
- func (o *DefendDisputeResponse) GetDisputeServiceResult() DisputeServiceResult
- func (o *DefendDisputeResponse) GetDisputeServiceResultOk() (*DisputeServiceResult, bool)
- func (o DefendDisputeResponse) MarshalJSON() ([]byte, error)
- func (o *DefendDisputeResponse) SetDisputeServiceResult(v DisputeServiceResult)
- func (o DefendDisputeResponse) ToMap() (map[string]interface{}, error)
- type DefenseDocument
- func (o *DefenseDocument) GetContent() string
- func (o *DefenseDocument) GetContentOk() (*string, bool)
- func (o *DefenseDocument) GetContentType() string
- func (o *DefenseDocument) GetContentTypeOk() (*string, bool)
- func (o *DefenseDocument) GetDefenseDocumentTypeCode() string
- func (o *DefenseDocument) GetDefenseDocumentTypeCodeOk() (*string, bool)
- func (o DefenseDocument) MarshalJSON() ([]byte, error)
- func (o *DefenseDocument) SetContent(v string)
- func (o *DefenseDocument) SetContentType(v string)
- func (o *DefenseDocument) SetDefenseDocumentTypeCode(v string)
- func (o DefenseDocument) ToMap() (map[string]interface{}, error)
- type DefenseDocumentType
- func (o *DefenseDocumentType) GetAvailable() bool
- func (o *DefenseDocumentType) GetAvailableOk() (*bool, bool)
- func (o *DefenseDocumentType) GetDefenseDocumentTypeCode() string
- func (o *DefenseDocumentType) GetDefenseDocumentTypeCodeOk() (*string, bool)
- func (o *DefenseDocumentType) GetRequirementLevel() string
- func (o *DefenseDocumentType) GetRequirementLevelOk() (*string, bool)
- func (o DefenseDocumentType) MarshalJSON() ([]byte, error)
- func (o *DefenseDocumentType) SetAvailable(v bool)
- func (o *DefenseDocumentType) SetDefenseDocumentTypeCode(v string)
- func (o *DefenseDocumentType) SetRequirementLevel(v string)
- func (o DefenseDocumentType) ToMap() (map[string]interface{}, error)
- type DefenseReason
- func (o *DefenseReason) GetDefenseDocumentTypes() []DefenseDocumentType
- func (o *DefenseReason) GetDefenseDocumentTypesOk() ([]DefenseDocumentType, bool)
- func (o *DefenseReason) GetDefenseReasonCode() string
- func (o *DefenseReason) GetDefenseReasonCodeOk() (*string, bool)
- func (o *DefenseReason) GetSatisfied() bool
- func (o *DefenseReason) GetSatisfiedOk() (*bool, bool)
- func (o *DefenseReason) HasDefenseDocumentTypes() bool
- func (o DefenseReason) MarshalJSON() ([]byte, error)
- func (o *DefenseReason) SetDefenseDocumentTypes(v []DefenseDocumentType)
- func (o *DefenseReason) SetDefenseReasonCode(v string)
- func (o *DefenseReason) SetSatisfied(v bool)
- func (o DefenseReason) ToMap() (map[string]interface{}, error)
- type DefenseReasonsRequest
- func (o *DefenseReasonsRequest) GetDisputePspReference() string
- func (o *DefenseReasonsRequest) GetDisputePspReferenceOk() (*string, bool)
- func (o *DefenseReasonsRequest) GetMerchantAccountCode() string
- func (o *DefenseReasonsRequest) GetMerchantAccountCodeOk() (*string, bool)
- func (o DefenseReasonsRequest) MarshalJSON() ([]byte, error)
- func (o *DefenseReasonsRequest) SetDisputePspReference(v string)
- func (o *DefenseReasonsRequest) SetMerchantAccountCode(v string)
- func (o DefenseReasonsRequest) ToMap() (map[string]interface{}, error)
- type DefenseReasonsResponse
- func (o *DefenseReasonsResponse) GetDefenseReasons() []DefenseReason
- func (o *DefenseReasonsResponse) GetDefenseReasonsOk() ([]DefenseReason, bool)
- func (o *DefenseReasonsResponse) GetDisputeServiceResult() DisputeServiceResult
- func (o *DefenseReasonsResponse) GetDisputeServiceResultOk() (*DisputeServiceResult, bool)
- func (o *DefenseReasonsResponse) HasDefenseReasons() bool
- func (o DefenseReasonsResponse) MarshalJSON() ([]byte, error)
- func (o *DefenseReasonsResponse) SetDefenseReasons(v []DefenseReason)
- func (o *DefenseReasonsResponse) SetDisputeServiceResult(v DisputeServiceResult)
- func (o DefenseReasonsResponse) ToMap() (map[string]interface{}, error)
- type DeleteDefenseDocumentRequest
- func (o *DeleteDefenseDocumentRequest) GetDefenseDocumentType() string
- func (o *DeleteDefenseDocumentRequest) GetDefenseDocumentTypeOk() (*string, bool)
- func (o *DeleteDefenseDocumentRequest) GetDisputePspReference() string
- func (o *DeleteDefenseDocumentRequest) GetDisputePspReferenceOk() (*string, bool)
- func (o *DeleteDefenseDocumentRequest) GetMerchantAccountCode() string
- func (o *DeleteDefenseDocumentRequest) GetMerchantAccountCodeOk() (*string, bool)
- func (o DeleteDefenseDocumentRequest) MarshalJSON() ([]byte, error)
- func (o *DeleteDefenseDocumentRequest) SetDefenseDocumentType(v string)
- func (o *DeleteDefenseDocumentRequest) SetDisputePspReference(v string)
- func (o *DeleteDefenseDocumentRequest) SetMerchantAccountCode(v string)
- func (o DeleteDefenseDocumentRequest) ToMap() (map[string]interface{}, error)
- type DeleteDefenseDocumentResponse
- func (o *DeleteDefenseDocumentResponse) GetDisputeServiceResult() DisputeServiceResult
- func (o *DeleteDefenseDocumentResponse) GetDisputeServiceResultOk() (*DisputeServiceResult, bool)
- func (o DeleteDefenseDocumentResponse) MarshalJSON() ([]byte, error)
- func (o *DeleteDefenseDocumentResponse) SetDisputeServiceResult(v DisputeServiceResult)
- func (o DeleteDefenseDocumentResponse) ToMap() (map[string]interface{}, error)
- type DisputeServiceResult
- func (o *DisputeServiceResult) GetErrorMessage() string
- func (o *DisputeServiceResult) GetErrorMessageOk() (*string, bool)
- func (o *DisputeServiceResult) GetSuccess() bool
- func (o *DisputeServiceResult) GetSuccessOk() (*bool, bool)
- func (o *DisputeServiceResult) HasErrorMessage() bool
- func (o DisputeServiceResult) MarshalJSON() ([]byte, error)
- func (o *DisputeServiceResult) SetErrorMessage(v string)
- func (o *DisputeServiceResult) SetSuccess(v bool)
- func (o DisputeServiceResult) ToMap() (map[string]interface{}, error)
- type GeneralApi
- func (a *GeneralApi) AcceptDispute(ctx context.Context, r GeneralApiAcceptDisputeInput) (AcceptDisputeResponse, *http.Response, error)
- func (a *GeneralApi) AcceptDisputeInput() GeneralApiAcceptDisputeInput
- func (a *GeneralApi) DefendDispute(ctx context.Context, r GeneralApiDefendDisputeInput) (DefendDisputeResponse, *http.Response, error)
- func (a *GeneralApi) DefendDisputeInput() GeneralApiDefendDisputeInput
- func (a *GeneralApi) DeleteDisputeDefenseDocument(ctx context.Context, r GeneralApiDeleteDisputeDefenseDocumentInput) (DeleteDefenseDocumentResponse, *http.Response, error)
- func (a *GeneralApi) DeleteDisputeDefenseDocumentInput() GeneralApiDeleteDisputeDefenseDocumentInput
- func (a *GeneralApi) RetrieveApplicableDefenseReasons(ctx context.Context, r GeneralApiRetrieveApplicableDefenseReasonsInput) (DefenseReasonsResponse, *http.Response, error)
- func (a *GeneralApi) RetrieveApplicableDefenseReasonsInput() GeneralApiRetrieveApplicableDefenseReasonsInput
- func (a *GeneralApi) SupplyDefenseDocument(ctx context.Context, r GeneralApiSupplyDefenseDocumentInput) (SupplyDefenseDocumentResponse, *http.Response, error)
- func (a *GeneralApi) SupplyDefenseDocumentInput() GeneralApiSupplyDefenseDocumentInput
- type GeneralApiAcceptDisputeInput
- type GeneralApiDefendDisputeInput
- type GeneralApiDeleteDisputeDefenseDocumentInput
- type GeneralApiRetrieveApplicableDefenseReasonsInput
- type GeneralApiSupplyDefenseDocumentInput
- type NullableAcceptDisputeRequest
- func (v NullableAcceptDisputeRequest) Get() *AcceptDisputeRequest
- func (v NullableAcceptDisputeRequest) IsSet() bool
- func (v NullableAcceptDisputeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAcceptDisputeRequest) Set(val *AcceptDisputeRequest)
- func (v *NullableAcceptDisputeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAcceptDisputeRequest) Unset()
- type NullableAcceptDisputeResponse
- func (v NullableAcceptDisputeResponse) Get() *AcceptDisputeResponse
- func (v NullableAcceptDisputeResponse) IsSet() bool
- func (v NullableAcceptDisputeResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAcceptDisputeResponse) Set(val *AcceptDisputeResponse)
- func (v *NullableAcceptDisputeResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAcceptDisputeResponse) Unset()
- type NullableDefendDisputeRequest
- func (v NullableDefendDisputeRequest) Get() *DefendDisputeRequest
- func (v NullableDefendDisputeRequest) IsSet() bool
- func (v NullableDefendDisputeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDefendDisputeRequest) Set(val *DefendDisputeRequest)
- func (v *NullableDefendDisputeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDefendDisputeRequest) Unset()
- type NullableDefendDisputeResponse
- func (v NullableDefendDisputeResponse) Get() *DefendDisputeResponse
- func (v NullableDefendDisputeResponse) IsSet() bool
- func (v NullableDefendDisputeResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDefendDisputeResponse) Set(val *DefendDisputeResponse)
- func (v *NullableDefendDisputeResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDefendDisputeResponse) Unset()
- type NullableDefenseDocument
- func (v NullableDefenseDocument) Get() *DefenseDocument
- func (v NullableDefenseDocument) IsSet() bool
- func (v NullableDefenseDocument) MarshalJSON() ([]byte, error)
- func (v *NullableDefenseDocument) Set(val *DefenseDocument)
- func (v *NullableDefenseDocument) UnmarshalJSON(src []byte) error
- func (v *NullableDefenseDocument) Unset()
- type NullableDefenseDocumentType
- func (v NullableDefenseDocumentType) Get() *DefenseDocumentType
- func (v NullableDefenseDocumentType) IsSet() bool
- func (v NullableDefenseDocumentType) MarshalJSON() ([]byte, error)
- func (v *NullableDefenseDocumentType) Set(val *DefenseDocumentType)
- func (v *NullableDefenseDocumentType) UnmarshalJSON(src []byte) error
- func (v *NullableDefenseDocumentType) Unset()
- type NullableDefenseReason
- func (v NullableDefenseReason) Get() *DefenseReason
- func (v NullableDefenseReason) IsSet() bool
- func (v NullableDefenseReason) MarshalJSON() ([]byte, error)
- func (v *NullableDefenseReason) Set(val *DefenseReason)
- func (v *NullableDefenseReason) UnmarshalJSON(src []byte) error
- func (v *NullableDefenseReason) Unset()
- type NullableDefenseReasonsRequest
- func (v NullableDefenseReasonsRequest) Get() *DefenseReasonsRequest
- func (v NullableDefenseReasonsRequest) IsSet() bool
- func (v NullableDefenseReasonsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDefenseReasonsRequest) Set(val *DefenseReasonsRequest)
- func (v *NullableDefenseReasonsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDefenseReasonsRequest) Unset()
- type NullableDefenseReasonsResponse
- func (v NullableDefenseReasonsResponse) Get() *DefenseReasonsResponse
- func (v NullableDefenseReasonsResponse) IsSet() bool
- func (v NullableDefenseReasonsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDefenseReasonsResponse) Set(val *DefenseReasonsResponse)
- func (v *NullableDefenseReasonsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDefenseReasonsResponse) Unset()
- type NullableDeleteDefenseDocumentRequest
- func (v NullableDeleteDefenseDocumentRequest) Get() *DeleteDefenseDocumentRequest
- func (v NullableDeleteDefenseDocumentRequest) IsSet() bool
- func (v NullableDeleteDefenseDocumentRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteDefenseDocumentRequest) Set(val *DeleteDefenseDocumentRequest)
- func (v *NullableDeleteDefenseDocumentRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteDefenseDocumentRequest) Unset()
- type NullableDeleteDefenseDocumentResponse
- func (v NullableDeleteDefenseDocumentResponse) Get() *DeleteDefenseDocumentResponse
- func (v NullableDeleteDefenseDocumentResponse) IsSet() bool
- func (v NullableDeleteDefenseDocumentResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteDefenseDocumentResponse) Set(val *DeleteDefenseDocumentResponse)
- func (v *NullableDeleteDefenseDocumentResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteDefenseDocumentResponse) Unset()
- type NullableDisputeServiceResult
- func (v NullableDisputeServiceResult) Get() *DisputeServiceResult
- func (v NullableDisputeServiceResult) IsSet() bool
- func (v NullableDisputeServiceResult) MarshalJSON() ([]byte, error)
- func (v *NullableDisputeServiceResult) Set(val *DisputeServiceResult)
- func (v *NullableDisputeServiceResult) UnmarshalJSON(src []byte) error
- func (v *NullableDisputeServiceResult) Unset()
- type NullableServiceError
- func (v NullableServiceError) Get() *ServiceError
- func (v NullableServiceError) IsSet() bool
- func (v NullableServiceError) MarshalJSON() ([]byte, error)
- func (v *NullableServiceError) Set(val *ServiceError)
- func (v *NullableServiceError) UnmarshalJSON(src []byte) error
- func (v *NullableServiceError) Unset()
- type NullableSupplyDefenseDocumentRequest
- func (v NullableSupplyDefenseDocumentRequest) Get() *SupplyDefenseDocumentRequest
- func (v NullableSupplyDefenseDocumentRequest) IsSet() bool
- func (v NullableSupplyDefenseDocumentRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSupplyDefenseDocumentRequest) Set(val *SupplyDefenseDocumentRequest)
- func (v *NullableSupplyDefenseDocumentRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSupplyDefenseDocumentRequest) Unset()
- type NullableSupplyDefenseDocumentResponse
- func (v NullableSupplyDefenseDocumentResponse) Get() *SupplyDefenseDocumentResponse
- func (v NullableSupplyDefenseDocumentResponse) IsSet() bool
- func (v NullableSupplyDefenseDocumentResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSupplyDefenseDocumentResponse) Set(val *SupplyDefenseDocumentResponse)
- func (v *NullableSupplyDefenseDocumentResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSupplyDefenseDocumentResponse) Unset()
- type ServiceError
- func (o *ServiceError) GetErrorCode() string
- func (o *ServiceError) GetErrorCodeOk() (*string, bool)
- func (o *ServiceError) GetErrorType() string
- func (o *ServiceError) GetErrorTypeOk() (*string, bool)
- func (o *ServiceError) GetMessage() string
- func (o *ServiceError) GetMessageOk() (*string, bool)
- func (o *ServiceError) GetPspReference() string
- func (o *ServiceError) GetPspReferenceOk() (*string, bool)
- func (o *ServiceError) GetStatus() int32
- func (o *ServiceError) GetStatusOk() (*int32, bool)
- func (o *ServiceError) HasErrorCode() bool
- func (o *ServiceError) HasErrorType() bool
- func (o *ServiceError) HasMessage() bool
- func (o *ServiceError) HasPspReference() bool
- func (o *ServiceError) HasStatus() bool
- func (o ServiceError) MarshalJSON() ([]byte, error)
- func (o *ServiceError) SetErrorCode(v string)
- func (o *ServiceError) SetErrorType(v string)
- func (o *ServiceError) SetMessage(v string)
- func (o *ServiceError) SetPspReference(v string)
- func (o *ServiceError) SetStatus(v int32)
- func (o ServiceError) ToMap() (map[string]interface{}, error)
- type SupplyDefenseDocumentRequest
- func (o *SupplyDefenseDocumentRequest) GetDefenseDocuments() []DefenseDocument
- func (o *SupplyDefenseDocumentRequest) GetDefenseDocumentsOk() ([]DefenseDocument, bool)
- func (o *SupplyDefenseDocumentRequest) GetDisputePspReference() string
- func (o *SupplyDefenseDocumentRequest) GetDisputePspReferenceOk() (*string, bool)
- func (o *SupplyDefenseDocumentRequest) GetMerchantAccountCode() string
- func (o *SupplyDefenseDocumentRequest) GetMerchantAccountCodeOk() (*string, bool)
- func (o SupplyDefenseDocumentRequest) MarshalJSON() ([]byte, error)
- func (o *SupplyDefenseDocumentRequest) SetDefenseDocuments(v []DefenseDocument)
- func (o *SupplyDefenseDocumentRequest) SetDisputePspReference(v string)
- func (o *SupplyDefenseDocumentRequest) SetMerchantAccountCode(v string)
- func (o SupplyDefenseDocumentRequest) ToMap() (map[string]interface{}, error)
- type SupplyDefenseDocumentResponse
- func (o *SupplyDefenseDocumentResponse) GetDisputeServiceResult() DisputeServiceResult
- func (o *SupplyDefenseDocumentResponse) GetDisputeServiceResultOk() (*DisputeServiceResult, bool)
- func (o SupplyDefenseDocumentResponse) MarshalJSON() ([]byte, error)
- func (o *SupplyDefenseDocumentResponse) SetDisputeServiceResult(v DisputeServiceResult)
- func (o SupplyDefenseDocumentResponse) ToMap() (map[string]interface{}, error)
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 ¶
GeneralApi service
func (*GeneralApi) AcceptDispute ¶
func (a *GeneralApi) AcceptDispute(ctx context.Context, r GeneralApiAcceptDisputeInput) (AcceptDisputeResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) DefendDispute(ctx context.Context, r GeneralApiDefendDisputeInput) (DefendDisputeResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) DeleteDisputeDefenseDocument(ctx context.Context, r GeneralApiDeleteDisputeDefenseDocumentInput) (DeleteDefenseDocumentResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) RetrieveApplicableDefenseReasons(ctx context.Context, r GeneralApiRetrieveApplicableDefenseReasonsInput) (DefenseReasonsResponse, *http.Response, error)
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 ¶
func (a *GeneralApi) SupplyDefenseDocument(ctx context.Context, r GeneralApiSupplyDefenseDocumentInput) (SupplyDefenseDocumentResponse, *http.Response, error)
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 ¶
func (r GeneralApiDeleteDisputeDefenseDocumentInput) DeleteDefenseDocumentRequest(deleteDefenseDocumentRequest DeleteDefenseDocumentRequest) GeneralApiDeleteDisputeDefenseDocumentInput
type GeneralApiRetrieveApplicableDefenseReasonsInput ¶
type GeneralApiRetrieveApplicableDefenseReasonsInput struct {
// contains filtered or unexported fields
}
All parameters accepted by GeneralApi.RetrieveApplicableDefenseReasons
func (GeneralApiRetrieveApplicableDefenseReasonsInput) DefenseReasonsRequest ¶
func (r GeneralApiRetrieveApplicableDefenseReasonsInput) DefenseReasonsRequest(defenseReasonsRequest DefenseReasonsRequest) GeneralApiRetrieveApplicableDefenseReasonsInput
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 (v NullableAcceptDisputeRequest) Get() *AcceptDisputeRequest
func (NullableAcceptDisputeRequest) IsSet ¶
func (v NullableAcceptDisputeRequest) IsSet() bool
func (NullableAcceptDisputeRequest) MarshalJSON ¶
func (v NullableAcceptDisputeRequest) MarshalJSON() ([]byte, error)
func (*NullableAcceptDisputeRequest) Set ¶
func (v *NullableAcceptDisputeRequest) Set(val *AcceptDisputeRequest)
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 NewNullableAcceptDisputeResponse ¶
func NewNullableAcceptDisputeResponse(val *AcceptDisputeResponse) *NullableAcceptDisputeResponse
func (NullableAcceptDisputeResponse) Get ¶
func (v NullableAcceptDisputeResponse) Get() *AcceptDisputeResponse
func (NullableAcceptDisputeResponse) IsSet ¶
func (v NullableAcceptDisputeResponse) IsSet() bool
func (NullableAcceptDisputeResponse) MarshalJSON ¶
func (v NullableAcceptDisputeResponse) MarshalJSON() ([]byte, error)
func (*NullableAcceptDisputeResponse) Set ¶
func (v *NullableAcceptDisputeResponse) Set(val *AcceptDisputeResponse)
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 (v NullableDefendDisputeRequest) Get() *DefendDisputeRequest
func (NullableDefendDisputeRequest) IsSet ¶
func (v NullableDefendDisputeRequest) IsSet() bool
func (NullableDefendDisputeRequest) MarshalJSON ¶
func (v NullableDefendDisputeRequest) MarshalJSON() ([]byte, error)
func (*NullableDefendDisputeRequest) Set ¶
func (v *NullableDefendDisputeRequest) Set(val *DefendDisputeRequest)
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 NewNullableDefendDisputeResponse ¶
func NewNullableDefendDisputeResponse(val *DefendDisputeResponse) *NullableDefendDisputeResponse
func (NullableDefendDisputeResponse) Get ¶
func (v NullableDefendDisputeResponse) Get() *DefendDisputeResponse
func (NullableDefendDisputeResponse) IsSet ¶
func (v NullableDefendDisputeResponse) IsSet() bool
func (NullableDefendDisputeResponse) MarshalJSON ¶
func (v NullableDefendDisputeResponse) MarshalJSON() ([]byte, error)
func (*NullableDefendDisputeResponse) Set ¶
func (v *NullableDefendDisputeResponse) Set(val *DefendDisputeResponse)
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 (v NullableDefenseDocument) Get() *DefenseDocument
func (NullableDefenseDocument) IsSet ¶
func (v NullableDefenseDocument) IsSet() bool
func (NullableDefenseDocument) MarshalJSON ¶
func (v NullableDefenseDocument) MarshalJSON() ([]byte, error)
func (*NullableDefenseDocument) Set ¶
func (v *NullableDefenseDocument) Set(val *DefenseDocument)
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 (v NullableDefenseDocumentType) Get() *DefenseDocumentType
func (NullableDefenseDocumentType) IsSet ¶
func (v NullableDefenseDocumentType) IsSet() bool
func (NullableDefenseDocumentType) MarshalJSON ¶
func (v NullableDefenseDocumentType) MarshalJSON() ([]byte, error)
func (*NullableDefenseDocumentType) Set ¶
func (v *NullableDefenseDocumentType) Set(val *DefenseDocumentType)
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 (v NullableDefenseReason) Get() *DefenseReason
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 NewNullableDefenseReasonsRequest ¶
func NewNullableDefenseReasonsRequest(val *DefenseReasonsRequest) *NullableDefenseReasonsRequest
func (NullableDefenseReasonsRequest) Get ¶
func (v NullableDefenseReasonsRequest) Get() *DefenseReasonsRequest
func (NullableDefenseReasonsRequest) IsSet ¶
func (v NullableDefenseReasonsRequest) IsSet() bool
func (NullableDefenseReasonsRequest) MarshalJSON ¶
func (v NullableDefenseReasonsRequest) MarshalJSON() ([]byte, error)
func (*NullableDefenseReasonsRequest) Set ¶
func (v *NullableDefenseReasonsRequest) Set(val *DefenseReasonsRequest)
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 NewNullableDefenseReasonsResponse ¶
func NewNullableDefenseReasonsResponse(val *DefenseReasonsResponse) *NullableDefenseReasonsResponse
func (NullableDefenseReasonsResponse) Get ¶
func (v NullableDefenseReasonsResponse) Get() *DefenseReasonsResponse
func (NullableDefenseReasonsResponse) IsSet ¶
func (v NullableDefenseReasonsResponse) IsSet() bool
func (NullableDefenseReasonsResponse) MarshalJSON ¶
func (v NullableDefenseReasonsResponse) MarshalJSON() ([]byte, error)
func (*NullableDefenseReasonsResponse) Set ¶
func (v *NullableDefenseReasonsResponse) Set(val *DefenseReasonsResponse)
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 NewNullableDeleteDefenseDocumentRequest ¶
func NewNullableDeleteDefenseDocumentRequest(val *DeleteDefenseDocumentRequest) *NullableDeleteDefenseDocumentRequest
func (NullableDeleteDefenseDocumentRequest) Get ¶
func (v NullableDeleteDefenseDocumentRequest) Get() *DeleteDefenseDocumentRequest
func (NullableDeleteDefenseDocumentRequest) IsSet ¶
func (v NullableDeleteDefenseDocumentRequest) IsSet() bool
func (NullableDeleteDefenseDocumentRequest) MarshalJSON ¶
func (v NullableDeleteDefenseDocumentRequest) MarshalJSON() ([]byte, error)
func (*NullableDeleteDefenseDocumentRequest) Set ¶
func (v *NullableDeleteDefenseDocumentRequest) Set(val *DeleteDefenseDocumentRequest)
func (*NullableDeleteDefenseDocumentRequest) UnmarshalJSON ¶
func (v *NullableDeleteDefenseDocumentRequest) UnmarshalJSON(src []byte) error
func (*NullableDeleteDefenseDocumentRequest) Unset ¶
func (v *NullableDeleteDefenseDocumentRequest) Unset()
type NullableDeleteDefenseDocumentResponse ¶
type NullableDeleteDefenseDocumentResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteDefenseDocumentResponse ¶
func NewNullableDeleteDefenseDocumentResponse(val *DeleteDefenseDocumentResponse) *NullableDeleteDefenseDocumentResponse
func (NullableDeleteDefenseDocumentResponse) Get ¶
func (v NullableDeleteDefenseDocumentResponse) Get() *DeleteDefenseDocumentResponse
func (NullableDeleteDefenseDocumentResponse) IsSet ¶
func (v NullableDeleteDefenseDocumentResponse) IsSet() bool
func (NullableDeleteDefenseDocumentResponse) MarshalJSON ¶
func (v NullableDeleteDefenseDocumentResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteDefenseDocumentResponse) Set ¶
func (v *NullableDeleteDefenseDocumentResponse) Set(val *DeleteDefenseDocumentResponse)
func (*NullableDeleteDefenseDocumentResponse) UnmarshalJSON ¶
func (v *NullableDeleteDefenseDocumentResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteDefenseDocumentResponse) Unset ¶
func (v *NullableDeleteDefenseDocumentResponse) Unset()
type NullableDisputeServiceResult ¶
type NullableDisputeServiceResult struct {
// contains filtered or unexported fields
}
func NewNullableDisputeServiceResult ¶
func NewNullableDisputeServiceResult(val *DisputeServiceResult) *NullableDisputeServiceResult
func (NullableDisputeServiceResult) Get ¶
func (v NullableDisputeServiceResult) Get() *DisputeServiceResult
func (NullableDisputeServiceResult) IsSet ¶
func (v NullableDisputeServiceResult) IsSet() bool
func (NullableDisputeServiceResult) MarshalJSON ¶
func (v NullableDisputeServiceResult) MarshalJSON() ([]byte, error)
func (*NullableDisputeServiceResult) Set ¶
func (v *NullableDisputeServiceResult) Set(val *DisputeServiceResult)
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 (v NullableServiceError) Get() *ServiceError
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 NewNullableSupplyDefenseDocumentRequest ¶
func NewNullableSupplyDefenseDocumentRequest(val *SupplyDefenseDocumentRequest) *NullableSupplyDefenseDocumentRequest
func (NullableSupplyDefenseDocumentRequest) Get ¶
func (v NullableSupplyDefenseDocumentRequest) Get() *SupplyDefenseDocumentRequest
func (NullableSupplyDefenseDocumentRequest) IsSet ¶
func (v NullableSupplyDefenseDocumentRequest) IsSet() bool
func (NullableSupplyDefenseDocumentRequest) MarshalJSON ¶
func (v NullableSupplyDefenseDocumentRequest) MarshalJSON() ([]byte, error)
func (*NullableSupplyDefenseDocumentRequest) Set ¶
func (v *NullableSupplyDefenseDocumentRequest) Set(val *SupplyDefenseDocumentRequest)
func (*NullableSupplyDefenseDocumentRequest) UnmarshalJSON ¶
func (v *NullableSupplyDefenseDocumentRequest) UnmarshalJSON(src []byte) error
func (*NullableSupplyDefenseDocumentRequest) Unset ¶
func (v *NullableSupplyDefenseDocumentRequest) Unset()
type NullableSupplyDefenseDocumentResponse ¶
type NullableSupplyDefenseDocumentResponse struct {
// contains filtered or unexported fields
}
func NewNullableSupplyDefenseDocumentResponse ¶
func NewNullableSupplyDefenseDocumentResponse(val *SupplyDefenseDocumentResponse) *NullableSupplyDefenseDocumentResponse
func (NullableSupplyDefenseDocumentResponse) Get ¶
func (v NullableSupplyDefenseDocumentResponse) Get() *SupplyDefenseDocumentResponse
func (NullableSupplyDefenseDocumentResponse) IsSet ¶
func (v NullableSupplyDefenseDocumentResponse) IsSet() bool
func (NullableSupplyDefenseDocumentResponse) MarshalJSON ¶
func (v NullableSupplyDefenseDocumentResponse) MarshalJSON() ([]byte, error)
func (*NullableSupplyDefenseDocumentResponse) Set ¶
func (v *NullableSupplyDefenseDocumentResponse) Set(val *SupplyDefenseDocumentResponse)
func (*NullableSupplyDefenseDocumentResponse) UnmarshalJSON ¶
func (v *NullableSupplyDefenseDocumentResponse) UnmarshalJSON(src []byte) error
func (*NullableSupplyDefenseDocumentResponse) Unset ¶
func (v *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)
Source Files ¶
- api_general.go
- model_accept_dispute_request.go
- model_accept_dispute_response.go
- model_defend_dispute_request.go
- model_defend_dispute_response.go
- model_defense_document.go
- model_defense_document_type.go
- model_defense_reason.go
- model_defense_reasons_request.go
- model_defense_reasons_response.go
- model_delete_defense_document_request.go
- model_delete_defense_document_response.go
- model_dispute_service_result.go
- model_service_error.go
- model_supply_defense_document_request.go
- model_supply_defense_document_response.go