Skip to content

Latest commit

 

History

History
469 lines (258 loc) · 14.4 KB

PaymentRequestParameters.md

File metadata and controls

469 lines (258 loc) · 14.4 KB

PaymentRequestParameters

Properties

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{}

Methods

NewPaymentRequestParameters

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

NewPaymentRequestParametersWithDefaults

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

GetReferenceId

func (o *PaymentRequestParameters) GetReferenceId() string

GetReferenceId returns the ReferenceId field if non-nil, zero value otherwise.

GetReferenceIdOk

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.

SetReferenceId

func (o *PaymentRequestParameters) SetReferenceId(v string)

SetReferenceId sets ReferenceId field to given value.

HasReferenceId

func (o *PaymentRequestParameters) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

GetAmount

func (o *PaymentRequestParameters) GetAmount() float64

GetAmount returns the Amount field if non-nil, zero value otherwise.

GetAmountOk

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.

SetAmount

func (o *PaymentRequestParameters) SetAmount(v float64)

SetAmount sets Amount field to given value.

HasAmount

func (o *PaymentRequestParameters) HasAmount() bool

HasAmount returns a boolean if a field has been set.

GetCurrency

func (o *PaymentRequestParameters) GetCurrency() PaymentRequestCurrency

GetCurrency returns the Currency field if non-nil, zero value otherwise.

GetCurrencyOk

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.

SetCurrency

func (o *PaymentRequestParameters) SetCurrency(v PaymentRequestCurrency)

SetCurrency sets Currency field to given value.

GetPaymentMethod

func (o *PaymentRequestParameters) GetPaymentMethod() PaymentMethodParameters

GetPaymentMethod returns the PaymentMethod field if non-nil, zero value otherwise.

GetPaymentMethodOk

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.

SetPaymentMethod

func (o *PaymentRequestParameters) SetPaymentMethod(v PaymentMethodParameters)

SetPaymentMethod sets PaymentMethod field to given value.

HasPaymentMethod

func (o *PaymentRequestParameters) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

GetDescription

func (o *PaymentRequestParameters) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

SetDescription

func (o *PaymentRequestParameters) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *PaymentRequestParameters) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *PaymentRequestParameters) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *PaymentRequestParameters) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

GetCaptureMethod

func (o *PaymentRequestParameters) GetCaptureMethod() PaymentRequestCaptureMethod

GetCaptureMethod returns the CaptureMethod field if non-nil, zero value otherwise.

GetCaptureMethodOk

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.

SetCaptureMethod

func (o *PaymentRequestParameters) SetCaptureMethod(v PaymentRequestCaptureMethod)

SetCaptureMethod sets CaptureMethod field to given value.

HasCaptureMethod

func (o *PaymentRequestParameters) HasCaptureMethod() bool

HasCaptureMethod returns a boolean if a field has been set.

SetCaptureMethodNil

func (o *PaymentRequestParameters) SetCaptureMethodNil(b bool)

SetCaptureMethodNil sets the value for CaptureMethod to be an explicit nil

UnsetCaptureMethod

func (o *PaymentRequestParameters) UnsetCaptureMethod()

UnsetCaptureMethod ensures that no value is present for CaptureMethod, not even an explicit nil

GetInitiator

func (o *PaymentRequestParameters) GetInitiator() PaymentRequestInitiator

GetInitiator returns the Initiator field if non-nil, zero value otherwise.

GetInitiatorOk

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.

SetInitiator

func (o *PaymentRequestParameters) SetInitiator(v PaymentRequestInitiator)

SetInitiator sets Initiator field to given value.

HasInitiator

func (o *PaymentRequestParameters) HasInitiator() bool

HasInitiator returns a boolean if a field has been set.

SetInitiatorNil

func (o *PaymentRequestParameters) SetInitiatorNil(b bool)

SetInitiatorNil sets the value for Initiator to be an explicit nil

UnsetInitiator

func (o *PaymentRequestParameters) UnsetInitiator()

UnsetInitiator ensures that no value is present for Initiator, not even an explicit nil

GetPaymentMethodId

func (o *PaymentRequestParameters) GetPaymentMethodId() string

GetPaymentMethodId returns the PaymentMethodId field if non-nil, zero value otherwise.

GetPaymentMethodIdOk

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.

SetPaymentMethodId

func (o *PaymentRequestParameters) SetPaymentMethodId(v string)

SetPaymentMethodId sets PaymentMethodId field to given value.

HasPaymentMethodId

func (o *PaymentRequestParameters) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

GetChannelProperties

func (o *PaymentRequestParameters) GetChannelProperties() PaymentRequestParametersChannelProperties

GetChannelProperties returns the ChannelProperties field if non-nil, zero value otherwise.

GetChannelPropertiesOk

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.

SetChannelProperties

func (o *PaymentRequestParameters) SetChannelProperties(v PaymentRequestParametersChannelProperties)

SetChannelProperties sets ChannelProperties field to given value.

HasChannelProperties

func (o *PaymentRequestParameters) HasChannelProperties() bool

HasChannelProperties returns a boolean if a field has been set.

GetShippingInformation

func (o *PaymentRequestParameters) GetShippingInformation() PaymentRequestShippingInformation

GetShippingInformation returns the ShippingInformation field if non-nil, zero value otherwise.

GetShippingInformationOk

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.

SetShippingInformation

func (o *PaymentRequestParameters) SetShippingInformation(v PaymentRequestShippingInformation)

SetShippingInformation sets ShippingInformation field to given value.

HasShippingInformation

func (o *PaymentRequestParameters) HasShippingInformation() bool

HasShippingInformation returns a boolean if a field has been set.

SetShippingInformationNil

func (o *PaymentRequestParameters) SetShippingInformationNil(b bool)

SetShippingInformationNil sets the value for ShippingInformation to be an explicit nil

UnsetShippingInformation

func (o *PaymentRequestParameters) UnsetShippingInformation()

UnsetShippingInformation ensures that no value is present for ShippingInformation, not even an explicit nil

GetItems

func (o *PaymentRequestParameters) GetItems() []PaymentRequestBasketItem

GetItems returns the Items field if non-nil, zero value otherwise.

GetItemsOk

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.

SetItems

func (o *PaymentRequestParameters) SetItems(v []PaymentRequestBasketItem)

SetItems sets Items field to given value.

HasItems

func (o *PaymentRequestParameters) HasItems() bool

HasItems returns a boolean if a field has been set.

SetItemsNil

func (o *PaymentRequestParameters) SetItemsNil(b bool)

SetItemsNil sets the value for Items to be an explicit nil

UnsetItems

func (o *PaymentRequestParameters) UnsetItems()

UnsetItems ensures that no value is present for Items, not even an explicit nil

GetCustomerId

func (o *PaymentRequestParameters) GetCustomerId() string

GetCustomerId returns the CustomerId field if non-nil, zero value otherwise.

GetCustomerIdOk

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.

SetCustomerId

func (o *PaymentRequestParameters) SetCustomerId(v string)

SetCustomerId sets CustomerId field to given value.

HasCustomerId

func (o *PaymentRequestParameters) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

SetCustomerIdNil

func (o *PaymentRequestParameters) SetCustomerIdNil(b bool)

SetCustomerIdNil sets the value for CustomerId to be an explicit nil

UnsetCustomerId

func (o *PaymentRequestParameters) UnsetCustomerId()

UnsetCustomerId ensures that no value is present for CustomerId, not even an explicit nil

GetCustomer

func (o *PaymentRequestParameters) GetCustomer() map[string]interface{}

GetCustomer returns the Customer field if non-nil, zero value otherwise.

GetCustomerOk

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.

SetCustomer

func (o *PaymentRequestParameters) SetCustomer(v map[string]interface{})

SetCustomer sets Customer field to given value.

HasCustomer

func (o *PaymentRequestParameters) HasCustomer() bool

HasCustomer returns a boolean if a field has been set.

SetCustomerNil

func (o *PaymentRequestParameters) SetCustomerNil(b bool)

SetCustomerNil sets the value for Customer to be an explicit nil

UnsetCustomer

func (o *PaymentRequestParameters) UnsetCustomer()

UnsetCustomer ensures that no value is present for Customer, not even an explicit nil

GetMetadata

func (o *PaymentRequestParameters) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

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.

SetMetadata

func (o *PaymentRequestParameters) SetMetadata(v map[string]interface{})

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *PaymentRequestParameters) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

SetMetadataNil

func (o *PaymentRequestParameters) SetMetadataNil(b bool)

SetMetadataNil sets the value for Metadata to be an explicit nil

UnsetMetadata

func (o *PaymentRequestParameters) UnsetMetadata()

UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil

[Back to README]