dataprotection

package
v8.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneralApi

type GeneralApi common.Service

GeneralApi service

func (*GeneralApi) RequestSubjectErasure

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 (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 (NullableSubjectErasureByPspReferenceRequest) Get

func (NullableSubjectErasureByPspReferenceRequest) IsSet

func (NullableSubjectErasureByPspReferenceRequest) MarshalJSON

func (*NullableSubjectErasureByPspReferenceRequest) Set

func (*NullableSubjectErasureByPspReferenceRequest) UnmarshalJSON

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

func (*NullableSubjectErasureByPspReferenceRequest) Unset

type NullableSubjectErasureResponse

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

func (NullableSubjectErasureResponse) Get

func (NullableSubjectErasureResponse) IsSet

func (NullableSubjectErasureResponse) MarshalJSON

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

func (*NullableSubjectErasureResponse) Set

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)

Jump to

Keyboard shortcuts

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