Documentation ¶
Index ¶
- type GeneralApi
- type GeneralApiRequestSubjectErasureInput
- 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 NullableSubjectErasureByPspReferenceRequest
- func (v NullableSubjectErasureByPspReferenceRequest) Get() *SubjectErasureByPspReferenceRequest
- func (v NullableSubjectErasureByPspReferenceRequest) IsSet() bool
- func (v NullableSubjectErasureByPspReferenceRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSubjectErasureByPspReferenceRequest) Set(val *SubjectErasureByPspReferenceRequest)
- func (v *NullableSubjectErasureByPspReferenceRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSubjectErasureByPspReferenceRequest) Unset()
- type NullableSubjectErasureResponse
- func (v NullableSubjectErasureResponse) Get() *SubjectErasureResponse
- func (v NullableSubjectErasureResponse) IsSet() bool
- func (v NullableSubjectErasureResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSubjectErasureResponse) Set(val *SubjectErasureResponse)
- func (v *NullableSubjectErasureResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSubjectErasureResponse) 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 SubjectErasureByPspReferenceRequest
- func (o *SubjectErasureByPspReferenceRequest) GetForceErasure() bool
- func (o *SubjectErasureByPspReferenceRequest) GetForceErasureOk() (*bool, bool)
- func (o *SubjectErasureByPspReferenceRequest) GetMerchantAccount() string
- func (o *SubjectErasureByPspReferenceRequest) GetMerchantAccountOk() (*string, bool)
- func (o *SubjectErasureByPspReferenceRequest) GetPspReference() string
- func (o *SubjectErasureByPspReferenceRequest) GetPspReferenceOk() (*string, bool)
- func (o *SubjectErasureByPspReferenceRequest) HasForceErasure() bool
- func (o *SubjectErasureByPspReferenceRequest) HasMerchantAccount() bool
- func (o *SubjectErasureByPspReferenceRequest) HasPspReference() bool
- func (o SubjectErasureByPspReferenceRequest) MarshalJSON() ([]byte, error)
- func (o *SubjectErasureByPspReferenceRequest) SetForceErasure(v bool)
- func (o *SubjectErasureByPspReferenceRequest) SetMerchantAccount(v string)
- func (o *SubjectErasureByPspReferenceRequest) SetPspReference(v string)
- func (o SubjectErasureByPspReferenceRequest) ToMap() (map[string]interface{}, error)
- type SubjectErasureResponse
- func (o *SubjectErasureResponse) GetResult() string
- func (o *SubjectErasureResponse) GetResultOk() (*string, bool)
- func (o *SubjectErasureResponse) HasResult() bool
- func (o SubjectErasureResponse) MarshalJSON() ([]byte, error)
- func (o *SubjectErasureResponse) SetResult(v string)
- func (o SubjectErasureResponse) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneralApi ¶
GeneralApi service
func (*GeneralApi) RequestSubjectErasure ¶
func (a *GeneralApi) RequestSubjectErasure(ctx context.Context, r GeneralApiRequestSubjectErasureInput) (SubjectErasureResponse, *http.Response, error)
RequestSubjectErasure Submit a Subject Erasure Request.
Sends the PSP reference containing the shopper data that should be deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param r GeneralApiRequestSubjectErasureInput - Request parameters, see RequestSubjectErasureInput @return SubjectErasureResponse, *http.Response, error
func (*GeneralApi) RequestSubjectErasureInput ¶
func (a *GeneralApi) RequestSubjectErasureInput() GeneralApiRequestSubjectErasureInput
Prepare a request for RequestSubjectErasure
@return GeneralApiRequestSubjectErasureInput
type GeneralApiRequestSubjectErasureInput ¶
type GeneralApiRequestSubjectErasureInput struct {
// contains filtered or unexported fields
}
All parameters accepted by GeneralApi.RequestSubjectErasure
func (GeneralApiRequestSubjectErasureInput) SubjectErasureByPspReferenceRequest ¶
func (r GeneralApiRequestSubjectErasureInput) SubjectErasureByPspReferenceRequest(subjectErasureByPspReferenceRequest SubjectErasureByPspReferenceRequest) GeneralApiRequestSubjectErasureInput
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 NullableSubjectErasureByPspReferenceRequest ¶
type NullableSubjectErasureByPspReferenceRequest struct {
// contains filtered or unexported fields
}
func NewNullableSubjectErasureByPspReferenceRequest ¶
func NewNullableSubjectErasureByPspReferenceRequest(val *SubjectErasureByPspReferenceRequest) *NullableSubjectErasureByPspReferenceRequest
func (NullableSubjectErasureByPspReferenceRequest) IsSet ¶
func (v NullableSubjectErasureByPspReferenceRequest) IsSet() bool
func (NullableSubjectErasureByPspReferenceRequest) MarshalJSON ¶
func (v NullableSubjectErasureByPspReferenceRequest) MarshalJSON() ([]byte, error)
func (*NullableSubjectErasureByPspReferenceRequest) Set ¶
func (v *NullableSubjectErasureByPspReferenceRequest) Set(val *SubjectErasureByPspReferenceRequest)
func (*NullableSubjectErasureByPspReferenceRequest) UnmarshalJSON ¶
func (v *NullableSubjectErasureByPspReferenceRequest) UnmarshalJSON(src []byte) error
func (*NullableSubjectErasureByPspReferenceRequest) Unset ¶
func (v *NullableSubjectErasureByPspReferenceRequest) Unset()
type NullableSubjectErasureResponse ¶
type NullableSubjectErasureResponse struct {
// contains filtered or unexported fields
}
func NewNullableSubjectErasureResponse ¶
func NewNullableSubjectErasureResponse(val *SubjectErasureResponse) *NullableSubjectErasureResponse
func (NullableSubjectErasureResponse) Get ¶
func (v NullableSubjectErasureResponse) Get() *SubjectErasureResponse
func (NullableSubjectErasureResponse) IsSet ¶
func (v NullableSubjectErasureResponse) IsSet() bool
func (NullableSubjectErasureResponse) MarshalJSON ¶
func (v NullableSubjectErasureResponse) MarshalJSON() ([]byte, error)
func (*NullableSubjectErasureResponse) Set ¶
func (v *NullableSubjectErasureResponse) Set(val *SubjectErasureResponse)
func (*NullableSubjectErasureResponse) UnmarshalJSON ¶
func (v *NullableSubjectErasureResponse) UnmarshalJSON(src []byte) error
func (*NullableSubjectErasureResponse) Unset ¶
func (v *NullableSubjectErasureResponse) 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 SubjectErasureByPspReferenceRequest ¶
type SubjectErasureByPspReferenceRequest struct { // Set this to **true** if you want to delete shopper-related data, even if the shopper has an existing recurring transaction. This only deletes the shopper-related data for the specific payment, but does not cancel the existing recurring transaction. ForceErasure *bool `json:"forceErasure,omitempty"` // Your merchant account MerchantAccount *string `json:"merchantAccount,omitempty"` // The PSP reference of the payment. We will delete all shopper-related data for this payment. PspReference *string `json:"pspReference,omitempty"` }
SubjectErasureByPspReferenceRequest struct for SubjectErasureByPspReferenceRequest
func NewSubjectErasureByPspReferenceRequest ¶
func NewSubjectErasureByPspReferenceRequest() *SubjectErasureByPspReferenceRequest
NewSubjectErasureByPspReferenceRequest instantiates a new SubjectErasureByPspReferenceRequest 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 NewSubjectErasureByPspReferenceRequestWithDefaults ¶
func NewSubjectErasureByPspReferenceRequestWithDefaults() *SubjectErasureByPspReferenceRequest
NewSubjectErasureByPspReferenceRequestWithDefaults instantiates a new SubjectErasureByPspReferenceRequest 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 (*SubjectErasureByPspReferenceRequest) GetForceErasure ¶
func (o *SubjectErasureByPspReferenceRequest) GetForceErasure() bool
GetForceErasure returns the ForceErasure field value if set, zero value otherwise.
func (*SubjectErasureByPspReferenceRequest) GetForceErasureOk ¶
func (o *SubjectErasureByPspReferenceRequest) GetForceErasureOk() (*bool, bool)
GetForceErasureOk returns a tuple with the ForceErasure field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubjectErasureByPspReferenceRequest) GetMerchantAccount ¶
func (o *SubjectErasureByPspReferenceRequest) GetMerchantAccount() string
GetMerchantAccount returns the MerchantAccount field value if set, zero value otherwise.
func (*SubjectErasureByPspReferenceRequest) GetMerchantAccountOk ¶
func (o *SubjectErasureByPspReferenceRequest) GetMerchantAccountOk() (*string, bool)
GetMerchantAccountOk returns a tuple with the MerchantAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubjectErasureByPspReferenceRequest) GetPspReference ¶
func (o *SubjectErasureByPspReferenceRequest) GetPspReference() string
GetPspReference returns the PspReference field value if set, zero value otherwise.
func (*SubjectErasureByPspReferenceRequest) GetPspReferenceOk ¶
func (o *SubjectErasureByPspReferenceRequest) 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 (*SubjectErasureByPspReferenceRequest) HasForceErasure ¶
func (o *SubjectErasureByPspReferenceRequest) HasForceErasure() bool
HasForceErasure returns a boolean if a field has been set.
func (*SubjectErasureByPspReferenceRequest) HasMerchantAccount ¶
func (o *SubjectErasureByPspReferenceRequest) HasMerchantAccount() bool
HasMerchantAccount returns a boolean if a field has been set.
func (*SubjectErasureByPspReferenceRequest) HasPspReference ¶
func (o *SubjectErasureByPspReferenceRequest) HasPspReference() bool
HasPspReference returns a boolean if a field has been set.
func (SubjectErasureByPspReferenceRequest) MarshalJSON ¶
func (o SubjectErasureByPspReferenceRequest) MarshalJSON() ([]byte, error)
func (*SubjectErasureByPspReferenceRequest) SetForceErasure ¶
func (o *SubjectErasureByPspReferenceRequest) SetForceErasure(v bool)
SetForceErasure gets a reference to the given bool and assigns it to the ForceErasure field.
func (*SubjectErasureByPspReferenceRequest) SetMerchantAccount ¶
func (o *SubjectErasureByPspReferenceRequest) SetMerchantAccount(v string)
SetMerchantAccount gets a reference to the given string and assigns it to the MerchantAccount field.
func (*SubjectErasureByPspReferenceRequest) SetPspReference ¶
func (o *SubjectErasureByPspReferenceRequest) SetPspReference(v string)
SetPspReference gets a reference to the given string and assigns it to the PspReference field.
func (SubjectErasureByPspReferenceRequest) ToMap ¶
func (o SubjectErasureByPspReferenceRequest) ToMap() (map[string]interface{}, error)
type SubjectErasureResponse ¶
type SubjectErasureResponse struct { // The result of this operation. Result *string `json:"result,omitempty"` }
SubjectErasureResponse struct for SubjectErasureResponse
func NewSubjectErasureResponse ¶
func NewSubjectErasureResponse() *SubjectErasureResponse
NewSubjectErasureResponse instantiates a new SubjectErasureResponse 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 NewSubjectErasureResponseWithDefaults ¶
func NewSubjectErasureResponseWithDefaults() *SubjectErasureResponse
NewSubjectErasureResponseWithDefaults instantiates a new SubjectErasureResponse 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 (*SubjectErasureResponse) GetResult ¶
func (o *SubjectErasureResponse) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*SubjectErasureResponse) GetResultOk ¶
func (o *SubjectErasureResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SubjectErasureResponse) HasResult ¶
func (o *SubjectErasureResponse) HasResult() bool
HasResult returns a boolean if a field has been set.
func (SubjectErasureResponse) MarshalJSON ¶
func (o SubjectErasureResponse) MarshalJSON() ([]byte, error)
func (*SubjectErasureResponse) SetResult ¶
func (o *SubjectErasureResponse) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
func (SubjectErasureResponse) ToMap ¶
func (o SubjectErasureResponse) ToMap() (map[string]interface{}, error)