Name | Type | Required | Description | Examples |
---|---|---|---|---|
ReferenceId | Pointer to string | |||
Amount | Pointer to float64 | |||
Currency | PaymentRequestCurrency | ☑️ | ||
PaymentMethod | Pointer to PaymentMethodParameters | |||
Description | Pointer to NullableString | |||
CaptureMethod | Pointer to NullablePaymentRequestCaptureMethod | |||
Initiator | Pointer to NullablePaymentRequestInitiator | |||
PaymentMethodId | Pointer to string | |||
ChannelProperties | Pointer to PaymentRequestParametersChannelProperties | |||
ShippingInformation | Pointer to NullablePaymentRequestShippingInformation | |||
Items | Pointer to PaymentRequestBasketItem[] | |||
CustomerId | Pointer to NullableString | |||
Customer | Pointer to map[string]interface{} | |||
Metadata | Pointer to map[string]interface{} |
func NewPaymentRequestParameters(currency PaymentRequestCurrency, ) *PaymentRequestParameters
NewPaymentRequestParameters instantiates a new PaymentRequestParameters 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 NewPaymentRequestParametersWithDefaults() *PaymentRequestParameters
NewPaymentRequestParametersWithDefaults instantiates a new PaymentRequestParameters 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 (o *PaymentRequestParameters) GetReferenceId() string
GetReferenceId returns the ReferenceId field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetReferenceIdOk() (*string, bool)
GetReferenceIdOk returns a tuple with the ReferenceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetReferenceId(v string)
SetReferenceId sets ReferenceId field to given value.
func (o *PaymentRequestParameters) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (o *PaymentRequestParameters) GetAmount() float64
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetAmountOk() (*float64, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetAmount(v float64)
SetAmount sets Amount field to given value.
func (o *PaymentRequestParameters) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *PaymentRequestParameters) GetCurrency() PaymentRequestCurrency
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetCurrencyOk() (*PaymentRequestCurrency, bool)
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetCurrency(v PaymentRequestCurrency)
SetCurrency sets Currency field to given value.
func (o *PaymentRequestParameters) GetPaymentMethod() PaymentMethodParameters
GetPaymentMethod returns the PaymentMethod field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetPaymentMethodOk() (*PaymentMethodParameters, bool)
GetPaymentMethodOk returns a tuple with the PaymentMethod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetPaymentMethod(v PaymentMethodParameters)
SetPaymentMethod sets PaymentMethod field to given value.
func (o *PaymentRequestParameters) HasPaymentMethod() bool
HasPaymentMethod returns a boolean if a field has been set.
func (o *PaymentRequestParameters) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *PaymentRequestParameters) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *PaymentRequestParameters) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *PaymentRequestParameters) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *PaymentRequestParameters) GetCaptureMethod() PaymentRequestCaptureMethod
GetCaptureMethod returns the CaptureMethod field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetCaptureMethodOk() (*PaymentRequestCaptureMethod, bool)
GetCaptureMethodOk returns a tuple with the CaptureMethod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetCaptureMethod(v PaymentRequestCaptureMethod)
SetCaptureMethod sets CaptureMethod field to given value.
func (o *PaymentRequestParameters) HasCaptureMethod() bool
HasCaptureMethod returns a boolean if a field has been set.
func (o *PaymentRequestParameters) SetCaptureMethodNil(b bool)
SetCaptureMethodNil sets the value for CaptureMethod to be an explicit nil
func (o *PaymentRequestParameters) UnsetCaptureMethod()
UnsetCaptureMethod ensures that no value is present for CaptureMethod, not even an explicit nil
func (o *PaymentRequestParameters) GetInitiator() PaymentRequestInitiator
GetInitiator returns the Initiator field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetInitiatorOk() (*PaymentRequestInitiator, bool)
GetInitiatorOk returns a tuple with the Initiator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetInitiator(v PaymentRequestInitiator)
SetInitiator sets Initiator field to given value.
func (o *PaymentRequestParameters) HasInitiator() bool
HasInitiator returns a boolean if a field has been set.
func (o *PaymentRequestParameters) SetInitiatorNil(b bool)
SetInitiatorNil sets the value for Initiator to be an explicit nil
func (o *PaymentRequestParameters) UnsetInitiator()
UnsetInitiator ensures that no value is present for Initiator, not even an explicit nil
func (o *PaymentRequestParameters) GetPaymentMethodId() string
GetPaymentMethodId returns the PaymentMethodId field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetPaymentMethodIdOk() (*string, bool)
GetPaymentMethodIdOk returns a tuple with the PaymentMethodId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetPaymentMethodId(v string)
SetPaymentMethodId sets PaymentMethodId field to given value.
func (o *PaymentRequestParameters) HasPaymentMethodId() bool
HasPaymentMethodId returns a boolean if a field has been set.
func (o *PaymentRequestParameters) GetChannelProperties() PaymentRequestParametersChannelProperties
GetChannelProperties returns the ChannelProperties field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetChannelPropertiesOk() (*PaymentRequestParametersChannelProperties, bool)
GetChannelPropertiesOk returns a tuple with the ChannelProperties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetChannelProperties(v PaymentRequestParametersChannelProperties)
SetChannelProperties sets ChannelProperties field to given value.
func (o *PaymentRequestParameters) HasChannelProperties() bool
HasChannelProperties returns a boolean if a field has been set.
func (o *PaymentRequestParameters) GetShippingInformation() PaymentRequestShippingInformation
GetShippingInformation returns the ShippingInformation field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetShippingInformationOk() (*PaymentRequestShippingInformation, bool)
GetShippingInformationOk returns a tuple with the ShippingInformation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetShippingInformation(v PaymentRequestShippingInformation)
SetShippingInformation sets ShippingInformation field to given value.
func (o *PaymentRequestParameters) HasShippingInformation() bool
HasShippingInformation returns a boolean if a field has been set.
func (o *PaymentRequestParameters) SetShippingInformationNil(b bool)
SetShippingInformationNil sets the value for ShippingInformation to be an explicit nil
func (o *PaymentRequestParameters) UnsetShippingInformation()
UnsetShippingInformation ensures that no value is present for ShippingInformation, not even an explicit nil
func (o *PaymentRequestParameters) GetItems() []PaymentRequestBasketItem
GetItems returns the Items field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetItemsOk() (*[]PaymentRequestBasketItem, bool)
GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetItems(v []PaymentRequestBasketItem)
SetItems sets Items field to given value.
func (o *PaymentRequestParameters) HasItems() bool
HasItems returns a boolean if a field has been set.
func (o *PaymentRequestParameters) SetItemsNil(b bool)
SetItemsNil sets the value for Items to be an explicit nil
func (o *PaymentRequestParameters) UnsetItems()
UnsetItems ensures that no value is present for Items, not even an explicit nil
func (o *PaymentRequestParameters) GetCustomerId() string
GetCustomerId returns the CustomerId field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetCustomerId(v string)
SetCustomerId sets CustomerId field to given value.
func (o *PaymentRequestParameters) HasCustomerId() bool
HasCustomerId returns a boolean if a field has been set.
func (o *PaymentRequestParameters) SetCustomerIdNil(b bool)
SetCustomerIdNil sets the value for CustomerId to be an explicit nil
func (o *PaymentRequestParameters) UnsetCustomerId()
UnsetCustomerId ensures that no value is present for CustomerId, not even an explicit nil
func (o *PaymentRequestParameters) GetCustomer() map[string]interface{}
GetCustomer returns the Customer field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetCustomerOk() (*map[string]interface{}, bool)
GetCustomerOk returns a tuple with the Customer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetCustomer(v map[string]interface{})
SetCustomer sets Customer field to given value.
func (o *PaymentRequestParameters) HasCustomer() bool
HasCustomer returns a boolean if a field has been set.
func (o *PaymentRequestParameters) SetCustomerNil(b bool)
SetCustomerNil sets the value for Customer to be an explicit nil
func (o *PaymentRequestParameters) UnsetCustomer()
UnsetCustomer ensures that no value is present for Customer, not even an explicit nil
func (o *PaymentRequestParameters) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *PaymentRequestParameters) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestParameters) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
func (o *PaymentRequestParameters) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *PaymentRequestParameters) SetMetadataNil(b bool)
SetMetadataNil sets the value for Metadata to be an explicit nil
func (o *PaymentRequestParameters) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil