paymentsapp

package
v16.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoardingTokenRequest

type BoardingTokenRequest struct {
	// The boardingToken request token.
	BoardingRequestToken string `json:"boardingRequestToken"`
}

BoardingTokenRequest struct for BoardingTokenRequest

func NewBoardingTokenRequest

func NewBoardingTokenRequest(boardingRequestToken string) *BoardingTokenRequest

NewBoardingTokenRequest instantiates a new BoardingTokenRequest 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 NewBoardingTokenRequestWithDefaults

func NewBoardingTokenRequestWithDefaults() *BoardingTokenRequest

NewBoardingTokenRequestWithDefaults instantiates a new BoardingTokenRequest 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 (*BoardingTokenRequest) GetBoardingRequestToken

func (o *BoardingTokenRequest) GetBoardingRequestToken() string

GetBoardingRequestToken returns the BoardingRequestToken field value

func (*BoardingTokenRequest) GetBoardingRequestTokenOk

func (o *BoardingTokenRequest) GetBoardingRequestTokenOk() (*string, bool)

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

func (BoardingTokenRequest) MarshalJSON

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

func (*BoardingTokenRequest) SetBoardingRequestToken

func (o *BoardingTokenRequest) SetBoardingRequestToken(v string)

SetBoardingRequestToken sets field value

func (BoardingTokenRequest) ToMap

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

type BoardingTokenResponse

type BoardingTokenResponse struct {
	// The boarding token that allows the Payments App to board.
	BoardingToken string `json:"boardingToken"`
	// The unique identifier of the Payments App instance.
	InstallationId string `json:"installationId"`
}

BoardingTokenResponse struct for BoardingTokenResponse

func NewBoardingTokenResponse

func NewBoardingTokenResponse(boardingToken string, installationId string) *BoardingTokenResponse

NewBoardingTokenResponse instantiates a new BoardingTokenResponse 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 NewBoardingTokenResponseWithDefaults

func NewBoardingTokenResponseWithDefaults() *BoardingTokenResponse

NewBoardingTokenResponseWithDefaults instantiates a new BoardingTokenResponse 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 (*BoardingTokenResponse) GetBoardingToken

func (o *BoardingTokenResponse) GetBoardingToken() string

GetBoardingToken returns the BoardingToken field value

func (*BoardingTokenResponse) GetBoardingTokenOk

func (o *BoardingTokenResponse) GetBoardingTokenOk() (*string, bool)

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

func (*BoardingTokenResponse) GetInstallationId

func (o *BoardingTokenResponse) GetInstallationId() string

GetInstallationId returns the InstallationId field value

func (*BoardingTokenResponse) GetInstallationIdOk

func (o *BoardingTokenResponse) GetInstallationIdOk() (*string, bool)

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

func (BoardingTokenResponse) MarshalJSON

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

func (*BoardingTokenResponse) SetBoardingToken

func (o *BoardingTokenResponse) SetBoardingToken(v string)

SetBoardingToken sets field value

func (*BoardingTokenResponse) SetInstallationId

func (o *BoardingTokenResponse) SetInstallationId(v string)

SetInstallationId sets field value

func (BoardingTokenResponse) ToMap

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

type DefaultErrorResponseEntity

type DefaultErrorResponseEntity struct {
	// A human-readable explanation specific to this occurrence of the problem.
	Detail *string `json:"detail,omitempty"`
	// Unique business error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// A URI that identifies the specific occurrence of the problem if applicable.
	Instance *string `json:"instance,omitempty"`
	// Array of fields with validation errors when applicable.
	InvalidFields []InvalidField `json:"invalidFields,omitempty"`
	// The unique reference for the request.
	RequestId *string `json:"requestId,omitempty"`
	// The HTTP status code.
	Status *int32 `json:"status,omitempty"`
	// A short, human-readable summary of the problem type.
	Title *string `json:"title,omitempty"`
	// A URI that identifies the validation error type. It points to human-readable documentation for the problem type.
	Type *string `json:"type,omitempty"`
}

DefaultErrorResponseEntity Standardized error response following RFC-7807 format

func NewDefaultErrorResponseEntity

func NewDefaultErrorResponseEntity() *DefaultErrorResponseEntity

NewDefaultErrorResponseEntity instantiates a new DefaultErrorResponseEntity 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 NewDefaultErrorResponseEntityWithDefaults

func NewDefaultErrorResponseEntityWithDefaults() *DefaultErrorResponseEntity

NewDefaultErrorResponseEntityWithDefaults instantiates a new DefaultErrorResponseEntity 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 (*DefaultErrorResponseEntity) GetDetail

func (o *DefaultErrorResponseEntity) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*DefaultErrorResponseEntity) GetDetailOk

func (o *DefaultErrorResponseEntity) GetDetailOk() (*string, bool)

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

func (*DefaultErrorResponseEntity) GetErrorCode

func (o *DefaultErrorResponseEntity) GetErrorCode() string

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

func (*DefaultErrorResponseEntity) GetErrorCodeOk

func (o *DefaultErrorResponseEntity) 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 (*DefaultErrorResponseEntity) GetInstance

func (o *DefaultErrorResponseEntity) GetInstance() string

GetInstance returns the Instance field value if set, zero value otherwise.

func (*DefaultErrorResponseEntity) GetInstanceOk

func (o *DefaultErrorResponseEntity) GetInstanceOk() (*string, bool)

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

func (*DefaultErrorResponseEntity) GetInvalidFields

func (o *DefaultErrorResponseEntity) GetInvalidFields() []InvalidField

GetInvalidFields returns the InvalidFields field value if set, zero value otherwise.

func (*DefaultErrorResponseEntity) GetInvalidFieldsOk

func (o *DefaultErrorResponseEntity) GetInvalidFieldsOk() ([]InvalidField, bool)

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

func (*DefaultErrorResponseEntity) GetRequestId

func (o *DefaultErrorResponseEntity) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*DefaultErrorResponseEntity) GetRequestIdOk

func (o *DefaultErrorResponseEntity) GetRequestIdOk() (*string, bool)

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

func (*DefaultErrorResponseEntity) GetStatus

func (o *DefaultErrorResponseEntity) GetStatus() int32

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

func (*DefaultErrorResponseEntity) GetStatusOk

func (o *DefaultErrorResponseEntity) 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 (*DefaultErrorResponseEntity) GetTitle

func (o *DefaultErrorResponseEntity) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*DefaultErrorResponseEntity) GetTitleOk

func (o *DefaultErrorResponseEntity) GetTitleOk() (*string, bool)

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

func (*DefaultErrorResponseEntity) GetType

func (o *DefaultErrorResponseEntity) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*DefaultErrorResponseEntity) GetTypeOk

func (o *DefaultErrorResponseEntity) GetTypeOk() (*string, bool)

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

func (*DefaultErrorResponseEntity) HasDetail

func (o *DefaultErrorResponseEntity) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*DefaultErrorResponseEntity) HasErrorCode

func (o *DefaultErrorResponseEntity) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*DefaultErrorResponseEntity) HasInstance

func (o *DefaultErrorResponseEntity) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (*DefaultErrorResponseEntity) HasInvalidFields

func (o *DefaultErrorResponseEntity) HasInvalidFields() bool

HasInvalidFields returns a boolean if a field has been set.

func (*DefaultErrorResponseEntity) HasRequestId

func (o *DefaultErrorResponseEntity) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*DefaultErrorResponseEntity) HasStatus

func (o *DefaultErrorResponseEntity) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*DefaultErrorResponseEntity) HasTitle

func (o *DefaultErrorResponseEntity) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DefaultErrorResponseEntity) HasType

func (o *DefaultErrorResponseEntity) HasType() bool

HasType returns a boolean if a field has been set.

func (DefaultErrorResponseEntity) MarshalJSON

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

func (*DefaultErrorResponseEntity) SetDetail

func (o *DefaultErrorResponseEntity) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*DefaultErrorResponseEntity) SetErrorCode

func (o *DefaultErrorResponseEntity) SetErrorCode(v string)

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

func (*DefaultErrorResponseEntity) SetInstance

func (o *DefaultErrorResponseEntity) SetInstance(v string)

SetInstance gets a reference to the given string and assigns it to the Instance field.

func (*DefaultErrorResponseEntity) SetInvalidFields

func (o *DefaultErrorResponseEntity) SetInvalidFields(v []InvalidField)

SetInvalidFields gets a reference to the given []InvalidField and assigns it to the InvalidFields field.

func (*DefaultErrorResponseEntity) SetRequestId

func (o *DefaultErrorResponseEntity) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*DefaultErrorResponseEntity) SetStatus

func (o *DefaultErrorResponseEntity) SetStatus(v int32)

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

func (*DefaultErrorResponseEntity) SetTitle

func (o *DefaultErrorResponseEntity) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*DefaultErrorResponseEntity) SetType

func (o *DefaultErrorResponseEntity) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (DefaultErrorResponseEntity) ToMap

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

type InvalidField

type InvalidField struct {
	// The field that has an invalid value.
	Name string `json:"name"`
	// The invalid value.
	Value string `json:"value"`
	// Description of the validation error.
	Message string `json:"message"`
}

InvalidField struct for InvalidField

func NewInvalidField

func NewInvalidField(name string, value string, message string) *InvalidField

NewInvalidField instantiates a new InvalidField 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 NewInvalidFieldWithDefaults

func NewInvalidFieldWithDefaults() *InvalidField

NewInvalidFieldWithDefaults instantiates a new InvalidField 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 (*InvalidField) GetMessage

func (o *InvalidField) GetMessage() string

GetMessage returns the Message field value

func (*InvalidField) GetMessageOk

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

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

func (*InvalidField) GetName

func (o *InvalidField) GetName() string

GetName returns the Name field value

func (*InvalidField) GetNameOk

func (o *InvalidField) GetNameOk() (*string, bool)

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

func (*InvalidField) GetValue

func (o *InvalidField) GetValue() string

GetValue returns the Value field value

func (*InvalidField) GetValueOk

func (o *InvalidField) GetValueOk() (*string, bool)

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

func (InvalidField) MarshalJSON

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

func (*InvalidField) SetMessage

func (o *InvalidField) SetMessage(v string)

SetMessage sets field value

func (*InvalidField) SetName

func (o *InvalidField) SetName(v string)

SetName sets field value

func (*InvalidField) SetValue

func (o *InvalidField) SetValue(v string)

SetValue sets field value

func (InvalidField) ToMap

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

type NullableBoardingTokenRequest

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

func NewNullableBoardingTokenRequest

func NewNullableBoardingTokenRequest(val *BoardingTokenRequest) *NullableBoardingTokenRequest

func (NullableBoardingTokenRequest) Get

func (NullableBoardingTokenRequest) IsSet

func (NullableBoardingTokenRequest) MarshalJSON

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

func (*NullableBoardingTokenRequest) Set

func (*NullableBoardingTokenRequest) UnmarshalJSON

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

func (*NullableBoardingTokenRequest) Unset

func (v *NullableBoardingTokenRequest) Unset()

type NullableBoardingTokenResponse

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

func (NullableBoardingTokenResponse) Get

func (NullableBoardingTokenResponse) IsSet

func (NullableBoardingTokenResponse) MarshalJSON

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

func (*NullableBoardingTokenResponse) Set

func (*NullableBoardingTokenResponse) UnmarshalJSON

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

func (*NullableBoardingTokenResponse) Unset

func (v *NullableBoardingTokenResponse) Unset()

type NullableDefaultErrorResponseEntity

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

func (NullableDefaultErrorResponseEntity) Get

func (NullableDefaultErrorResponseEntity) IsSet

func (NullableDefaultErrorResponseEntity) MarshalJSON

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

func (*NullableDefaultErrorResponseEntity) Set

func (*NullableDefaultErrorResponseEntity) UnmarshalJSON

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

func (*NullableDefaultErrorResponseEntity) Unset

type NullableInvalidField

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

func NewNullableInvalidField

func NewNullableInvalidField(val *InvalidField) *NullableInvalidField

func (NullableInvalidField) Get

func (NullableInvalidField) IsSet

func (v NullableInvalidField) IsSet() bool

func (NullableInvalidField) MarshalJSON

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

func (*NullableInvalidField) Set

func (v *NullableInvalidField) Set(val *InvalidField)

func (*NullableInvalidField) UnmarshalJSON

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

func (*NullableInvalidField) Unset

func (v *NullableInvalidField) Unset()

type NullablePaymentsAppDto

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

func NewNullablePaymentsAppDto

func NewNullablePaymentsAppDto(val *PaymentsAppDto) *NullablePaymentsAppDto

func (NullablePaymentsAppDto) Get

func (NullablePaymentsAppDto) IsSet

func (v NullablePaymentsAppDto) IsSet() bool

func (NullablePaymentsAppDto) MarshalJSON

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

func (*NullablePaymentsAppDto) Set

func (*NullablePaymentsAppDto) UnmarshalJSON

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

func (*NullablePaymentsAppDto) Unset

func (v *NullablePaymentsAppDto) Unset()

type NullablePaymentsAppResponse

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

func NewNullablePaymentsAppResponse

func NewNullablePaymentsAppResponse(val *PaymentsAppResponse) *NullablePaymentsAppResponse

func (NullablePaymentsAppResponse) Get

func (NullablePaymentsAppResponse) IsSet

func (NullablePaymentsAppResponse) MarshalJSON

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

func (*NullablePaymentsAppResponse) Set

func (*NullablePaymentsAppResponse) UnmarshalJSON

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

func (*NullablePaymentsAppResponse) Unset

func (v *NullablePaymentsAppResponse) Unset()

type PaymentsAppApi

type PaymentsAppApi common.Service

PaymentsAppApi service

func (*PaymentsAppApi) GeneratePaymentsAppBoardingTokenForMerchant

GeneratePaymentsAppBoardingTokenForMerchant Create a boarding token - merchant level

Creates a boarding token used to authenticate the installation of a Payments App instance on an Android device. The boarding token is created for the `boardingRequestToken` of the Payments App for the merchant account identified in the path.

To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Adyen Payments App role

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

func (*PaymentsAppApi) GeneratePaymentsAppBoardingTokenForMerchantInput

func (a *PaymentsAppApi) GeneratePaymentsAppBoardingTokenForMerchantInput(merchantId string) PaymentsAppApiGeneratePaymentsAppBoardingTokenForMerchantInput

Prepare a request for GeneratePaymentsAppBoardingTokenForMerchant @param merchantId The unique identifier of the merchant account. @return PaymentsAppApiGeneratePaymentsAppBoardingTokenForMerchantInput

func (*PaymentsAppApi) GeneratePaymentsAppBoardingTokenForStore

GeneratePaymentsAppBoardingTokenForStore Create a boarding token - store level

Creates a boarding token used to authenticate the installation of a Payments App instance on an Android device. The boarding token is created for the `boardingRequestToken` of the Payments App for the store identified in the path.

To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Adyen Payments App role

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

func (*PaymentsAppApi) GeneratePaymentsAppBoardingTokenForStoreInput

func (a *PaymentsAppApi) GeneratePaymentsAppBoardingTokenForStoreInput(merchantId string, storeId string) PaymentsAppApiGeneratePaymentsAppBoardingTokenForStoreInput

Prepare a request for GeneratePaymentsAppBoardingTokenForStore @param merchantId The unique identifier of the merchant account.@param storeId The unique identifier of the store. @return PaymentsAppApiGeneratePaymentsAppBoardingTokenForStoreInput

func (*PaymentsAppApi) ListPaymentsAppForMerchant

ListPaymentsAppForMerchant Get a list of Payments Apps - merchant level

Returns the list of Payments App instances for the merchant account identified in the path.

To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Adyen Payments App role

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

func (*PaymentsAppApi) ListPaymentsAppForMerchantInput

func (a *PaymentsAppApi) ListPaymentsAppForMerchantInput(merchantId string) PaymentsAppApiListPaymentsAppForMerchantInput

Prepare a request for ListPaymentsAppForMerchant @param merchantId The unique identifier of the merchant account. @return PaymentsAppApiListPaymentsAppForMerchantInput

func (*PaymentsAppApi) ListPaymentsAppForStore

ListPaymentsAppForStore Get a list of Payments Apps - store level

Returns the list of Payments App instances for the store identified in the path.

To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Adyen Payments App role

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

func (*PaymentsAppApi) ListPaymentsAppForStoreInput

func (a *PaymentsAppApi) ListPaymentsAppForStoreInput(merchantId string, storeId string) PaymentsAppApiListPaymentsAppForStoreInput

Prepare a request for ListPaymentsAppForStore @param merchantId The unique identifier of the merchant account.@param storeId The unique identifier of the store. @return PaymentsAppApiListPaymentsAppForStoreInput

func (*PaymentsAppApi) RevokePaymentsApp

RevokePaymentsApp Revoke Payments App instance authentication

Revokes the authentication of the Payments App instance for the `installationId` and merchant account identified in the path. This call revokes the authentication of the Payments App instance with the `installationId` identified in the path for both merchant accounts and stores.

To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Adyen Payments App role

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

func (*PaymentsAppApi) RevokePaymentsAppInput

func (a *PaymentsAppApi) RevokePaymentsAppInput(merchantId string, installationId string) PaymentsAppApiRevokePaymentsAppInput

Prepare a request for RevokePaymentsApp @param merchantId The unique identifier of the merchant account.@param installationId The unique identifier of the Payments App instance on a device. @return PaymentsAppApiRevokePaymentsAppInput

type PaymentsAppApiGeneratePaymentsAppBoardingTokenForMerchantInput

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

All parameters accepted by PaymentsAppApi.GeneratePaymentsAppBoardingTokenForMerchant

func (PaymentsAppApiGeneratePaymentsAppBoardingTokenForMerchantInput) BoardingTokenRequest

type PaymentsAppApiGeneratePaymentsAppBoardingTokenForStoreInput

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

All parameters accepted by PaymentsAppApi.GeneratePaymentsAppBoardingTokenForStore

func (PaymentsAppApiGeneratePaymentsAppBoardingTokenForStoreInput) BoardingTokenRequest

type PaymentsAppApiListPaymentsAppForMerchantInput

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

All parameters accepted by PaymentsAppApi.ListPaymentsAppForMerchant

func (PaymentsAppApiListPaymentsAppForMerchantInput) Limit

The number of items to return.

func (PaymentsAppApiListPaymentsAppForMerchantInput) Offset

The number of items to skip.

func (PaymentsAppApiListPaymentsAppForMerchantInput) Statuses

The status of the Payments App. Comma-separated list of one or more values. If no value is provided, the list returns all statuses. Possible values: * **BOARDING** * **BOARDED** * **REVOKED**

type PaymentsAppApiListPaymentsAppForStoreInput

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

All parameters accepted by PaymentsAppApi.ListPaymentsAppForStore

func (PaymentsAppApiListPaymentsAppForStoreInput) Limit

The number of items to return.

func (PaymentsAppApiListPaymentsAppForStoreInput) Offset

The number of items to skip.

func (PaymentsAppApiListPaymentsAppForStoreInput) Statuses

The status of the Payments App. Comma-separated list of one or more values. If no value is provided, the list returns all statuses. Possible values: * **BOARDING** * **BOARDED** * **REVOKED**

type PaymentsAppApiRevokePaymentsAppInput

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

All parameters accepted by PaymentsAppApi.RevokePaymentsApp

type PaymentsAppDto

type PaymentsAppDto struct {
	// The unique identifier of the Payments App instance.
	InstallationId string `json:"installationId"`
	// The account code associated with the Payments App instance.
	MerchantAccountCode string `json:"merchantAccountCode"`
	// The store code associated with the Payments App instance.
	MerchantStoreCode *string `json:"merchantStoreCode,omitempty"`
	// The status of the Payments App instance.
	Status string `json:"status"`
}

PaymentsAppDto struct for PaymentsAppDto

func NewPaymentsAppDto

func NewPaymentsAppDto(installationId string, merchantAccountCode string, status string) *PaymentsAppDto

NewPaymentsAppDto instantiates a new PaymentsAppDto 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 NewPaymentsAppDtoWithDefaults

func NewPaymentsAppDtoWithDefaults() *PaymentsAppDto

NewPaymentsAppDtoWithDefaults instantiates a new PaymentsAppDto 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 (*PaymentsAppDto) GetInstallationId

func (o *PaymentsAppDto) GetInstallationId() string

GetInstallationId returns the InstallationId field value

func (*PaymentsAppDto) GetInstallationIdOk

func (o *PaymentsAppDto) GetInstallationIdOk() (*string, bool)

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

func (*PaymentsAppDto) GetMerchantAccountCode

func (o *PaymentsAppDto) GetMerchantAccountCode() string

GetMerchantAccountCode returns the MerchantAccountCode field value

func (*PaymentsAppDto) GetMerchantAccountCodeOk

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

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

func (*PaymentsAppDto) GetMerchantStoreCode

func (o *PaymentsAppDto) GetMerchantStoreCode() string

GetMerchantStoreCode returns the MerchantStoreCode field value if set, zero value otherwise.

func (*PaymentsAppDto) GetMerchantStoreCodeOk

func (o *PaymentsAppDto) GetMerchantStoreCodeOk() (*string, bool)

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

func (*PaymentsAppDto) GetStatus

func (o *PaymentsAppDto) GetStatus() string

GetStatus returns the Status field value

func (*PaymentsAppDto) GetStatusOk

func (o *PaymentsAppDto) GetStatusOk() (*string, bool)

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

func (*PaymentsAppDto) HasMerchantStoreCode

func (o *PaymentsAppDto) HasMerchantStoreCode() bool

HasMerchantStoreCode returns a boolean if a field has been set.

func (PaymentsAppDto) MarshalJSON

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

func (*PaymentsAppDto) SetInstallationId

func (o *PaymentsAppDto) SetInstallationId(v string)

SetInstallationId sets field value

func (*PaymentsAppDto) SetMerchantAccountCode

func (o *PaymentsAppDto) SetMerchantAccountCode(v string)

SetMerchantAccountCode sets field value

func (*PaymentsAppDto) SetMerchantStoreCode

func (o *PaymentsAppDto) SetMerchantStoreCode(v string)

SetMerchantStoreCode gets a reference to the given string and assigns it to the MerchantStoreCode field.

func (*PaymentsAppDto) SetStatus

func (o *PaymentsAppDto) SetStatus(v string)

SetStatus sets field value

func (PaymentsAppDto) ToMap

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

type PaymentsAppResponse

type PaymentsAppResponse struct {
	// List of Payments Apps.
	PaymentsApps []PaymentsAppDto `json:"paymentsApps"`
}

PaymentsAppResponse struct for PaymentsAppResponse

func NewPaymentsAppResponse

func NewPaymentsAppResponse(paymentsApps []PaymentsAppDto) *PaymentsAppResponse

NewPaymentsAppResponse instantiates a new PaymentsAppResponse 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 NewPaymentsAppResponseWithDefaults

func NewPaymentsAppResponseWithDefaults() *PaymentsAppResponse

NewPaymentsAppResponseWithDefaults instantiates a new PaymentsAppResponse 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 (*PaymentsAppResponse) GetPaymentsApps

func (o *PaymentsAppResponse) GetPaymentsApps() []PaymentsAppDto

GetPaymentsApps returns the PaymentsApps field value

func (*PaymentsAppResponse) GetPaymentsAppsOk

func (o *PaymentsAppResponse) GetPaymentsAppsOk() ([]PaymentsAppDto, bool)

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

func (PaymentsAppResponse) MarshalJSON

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

func (*PaymentsAppResponse) SetPaymentsApps

func (o *PaymentsAppResponse) SetPaymentsApps(v []PaymentsAppDto)

SetPaymentsApps sets field value

func (PaymentsAppResponse) ToMap

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

Jump to

Keyboard shortcuts

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