Documentation ¶
Index ¶
- type ApiSimulatePaymentRequest
- type InternalWebControllersMerchantApiv1SimulateSimulateRequest
- func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetAccountNumber() string
- func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetAccountNumberOk() (*string, bool)
- func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetPaymentIdentifier() string
- func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetPaymentIdentifierOk() (*string, bool)
- func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) HasAccountNumber() bool
- func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) HasPaymentIdentifier() bool
- func (o InternalWebControllersMerchantApiv1SimulateSimulateRequest) MarshalJSON() ([]byte, error)
- func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) SetAccountNumber(v string)
- func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) SetPaymentIdentifier(v string)
- func (o InternalWebControllersMerchantApiv1SimulateSimulateRequest) ToMap() (map[string]interface{}, error)
- type NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest
- func (v NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) Get() *InternalWebControllersMerchantApiv1SimulateSimulateRequest
- func (v NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) IsSet() bool
- func (v NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) Set(val *InternalWebControllersMerchantApiv1SimulateSimulateRequest)
- func (v *NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) Unset()
- type PublicSimulateAPI
- type SimulateApiService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiSimulatePaymentRequest ¶
type ApiSimulatePaymentRequest struct { ApiService PublicSimulateAPI // contains filtered or unexported fields }
func (ApiSimulatePaymentRequest) Execute ¶
func (r ApiSimulatePaymentRequest) Execute() (*http.Response, error)
func (ApiSimulatePaymentRequest) Request ¶
func (r ApiSimulatePaymentRequest) Request(request InternalWebControllersMerchantApiv1SimulateSimulateRequest) ApiSimulatePaymentRequest
Request payload to simulate payment
type InternalWebControllersMerchantApiv1SimulateSimulateRequest ¶
type InternalWebControllersMerchantApiv1SimulateSimulateRequest struct { AccountNumber *string `json:"account_number,omitempty"` PaymentIdentifier *string `json:"payment_identifier,omitempty"` }
InternalWebControllersMerchantApiv1SimulateSimulateRequest struct for InternalWebControllersMerchantApiv1SimulateSimulateRequest
func NewInternalWebControllersMerchantApiv1SimulateSimulateRequest ¶
func NewInternalWebControllersMerchantApiv1SimulateSimulateRequest() *InternalWebControllersMerchantApiv1SimulateSimulateRequest
NewInternalWebControllersMerchantApiv1SimulateSimulateRequest instantiates a new InternalWebControllersMerchantApiv1SimulateSimulateRequest 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 NewInternalWebControllersMerchantApiv1SimulateSimulateRequestWithDefaults ¶
func NewInternalWebControllersMerchantApiv1SimulateSimulateRequestWithDefaults() *InternalWebControllersMerchantApiv1SimulateSimulateRequest
NewInternalWebControllersMerchantApiv1SimulateSimulateRequestWithDefaults instantiates a new InternalWebControllersMerchantApiv1SimulateSimulateRequest 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 (*InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetAccountNumber ¶
func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetAccountNumber() string
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetAccountNumberOk ¶
func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetAccountNumberOk() (*string, bool)
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetPaymentIdentifier ¶
func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetPaymentIdentifier() string
GetPaymentIdentifier returns the PaymentIdentifier field value if set, zero value otherwise.
func (*InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetPaymentIdentifierOk ¶
func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) GetPaymentIdentifierOk() (*string, bool)
GetPaymentIdentifierOk returns a tuple with the PaymentIdentifier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InternalWebControllersMerchantApiv1SimulateSimulateRequest) HasAccountNumber ¶
func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) HasAccountNumber() bool
HasAccountNumber returns a boolean if a field has been set.
func (*InternalWebControllersMerchantApiv1SimulateSimulateRequest) HasPaymentIdentifier ¶
func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) HasPaymentIdentifier() bool
HasPaymentIdentifier returns a boolean if a field has been set.
func (InternalWebControllersMerchantApiv1SimulateSimulateRequest) MarshalJSON ¶
func (o InternalWebControllersMerchantApiv1SimulateSimulateRequest) MarshalJSON() ([]byte, error)
func (*InternalWebControllersMerchantApiv1SimulateSimulateRequest) SetAccountNumber ¶
func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) SetAccountNumber(v string)
SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.
func (*InternalWebControllersMerchantApiv1SimulateSimulateRequest) SetPaymentIdentifier ¶
func (o *InternalWebControllersMerchantApiv1SimulateSimulateRequest) SetPaymentIdentifier(v string)
SetPaymentIdentifier gets a reference to the given string and assigns it to the PaymentIdentifier field.
func (InternalWebControllersMerchantApiv1SimulateSimulateRequest) ToMap ¶
func (o InternalWebControllersMerchantApiv1SimulateSimulateRequest) ToMap() (map[string]interface{}, error)
type NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest ¶
type NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest struct {
// contains filtered or unexported fields
}
func NewNullableInternalWebControllersMerchantApiv1SimulateSimulateRequest ¶
func NewNullableInternalWebControllersMerchantApiv1SimulateSimulateRequest(val *InternalWebControllersMerchantApiv1SimulateSimulateRequest) *NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest
func (NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) IsSet ¶
func (v NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) IsSet() bool
func (NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) MarshalJSON ¶
func (v NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) MarshalJSON() ([]byte, error)
func (*NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) UnmarshalJSON ¶
func (v *NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) UnmarshalJSON(src []byte) error
func (*NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) Unset ¶
func (v *NullableInternalWebControllersMerchantApiv1SimulateSimulateRequest) Unset()
type PublicSimulateAPI ¶
type PublicSimulateAPI interface { /* SimulatePayment SimulatePayment is handler for simulate payment system. Return status code 200 if the payment is completed. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSimulatePaymentRequest */ SimulatePayment(ctx context.Context) ApiSimulatePaymentRequest // SimulatePaymentExecute executes the request SimulatePaymentExecute(r ApiSimulatePaymentRequest) (*http.Response, error) }
func NewSimulateApi ¶
func NewSimulateApi(client common.IClient) PublicSimulateAPI
NewSimulateApi Create a new SimulateApi service
type SimulateApiService ¶
type SimulateApiService struct {
// contains filtered or unexported fields
}
func (*SimulateApiService) SimulatePayment ¶
func (a *SimulateApiService) SimulatePayment(ctx context.Context) ApiSimulatePaymentRequest
SimulatePayment SimulatePayment is handler for simulate payment system.
Return status code 200 if the payment is completed.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSimulatePaymentRequest
func (*SimulateApiService) SimulatePaymentExecute ¶
func (a *SimulateApiService) SimulatePaymentExecute(r ApiSimulatePaymentRequest) (*http.Response, error)
Execute executes the request