Name | Type | Required | Description | Examples |
---|---|---|---|---|
Id | string | ☑️ | ||
Created | string | ☑️ | ||
Updated | string | ☑️ | ||
ReferenceId | string | ☑️ | ||
BusinessId | string | ☑️ | ||
CustomerId | Pointer to NullableString | |||
Customer | Pointer to map[string]interface{} | |||
Amount | Pointer to float64 | |||
MinAmount | Pointer to NullableFloat64 | |||
MaxAmount | Pointer to NullableFloat64 | |||
Country | Pointer to PaymentRequestCountry | |||
Currency | PaymentRequestCurrency | ☑️ | ||
PaymentMethod | PaymentMethod | ☑️ | ||
Description | Pointer to NullableString | |||
FailureCode | Pointer to NullableString | |||
CaptureMethod | Pointer to NullablePaymentRequestCaptureMethod | |||
Initiator | Pointer to NullablePaymentRequestInitiator | |||
CardVerificationResults | Pointer to NullablePaymentRequestCardVerificationResults | |||
Status | PaymentRequestStatus | ☑️ | ||
Actions | Pointer to PaymentRequestAction[] | |||
Metadata | Pointer to map[string]interface{} | |||
ShippingInformation | Pointer to NullablePaymentRequestShippingInformation | |||
Items | Pointer to PaymentRequestBasketItem[] |
func NewPaymentRequest(id string, created string, updated string, referenceId string, businessId string, currency PaymentRequestCurrency, paymentMethod PaymentMethod, status PaymentRequestStatus, ) *PaymentRequest
NewPaymentRequest instantiates a new PaymentRequest 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 NewPaymentRequestWithDefaults() *PaymentRequest
NewPaymentRequestWithDefaults instantiates a new PaymentRequest 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 *PaymentRequest) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequest) SetId(v string)
SetId sets Id field to given value.
func (o *PaymentRequest) GetCreated() string
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetCreatedOk() (*string, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequest) SetCreated(v string)
SetCreated sets Created field to given value.
func (o *PaymentRequest) GetUpdated() string
GetUpdated returns the Updated field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetUpdatedOk() (*string, bool)
GetUpdatedOk returns a tuple with the Updated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequest) SetUpdated(v string)
SetUpdated sets Updated field to given value.
func (o *PaymentRequest) GetReferenceId() string
GetReferenceId returns the ReferenceId field if non-nil, zero value otherwise.
func (o *PaymentRequest) 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 *PaymentRequest) SetReferenceId(v string)
SetReferenceId sets ReferenceId field to given value.
func (o *PaymentRequest) GetBusinessId() string
GetBusinessId returns the BusinessId field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetBusinessIdOk() (*string, bool)
GetBusinessIdOk returns a tuple with the BusinessId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequest) SetBusinessId(v string)
SetBusinessId sets BusinessId field to given value.
func (o *PaymentRequest) GetCustomerId() string
GetCustomerId returns the CustomerId field if non-nil, zero value otherwise.
func (o *PaymentRequest) 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 *PaymentRequest) SetCustomerId(v string)
SetCustomerId sets CustomerId field to given value.
func (o *PaymentRequest) HasCustomerId() bool
HasCustomerId returns a boolean if a field has been set.
func (o *PaymentRequest) SetCustomerIdNil(b bool)
SetCustomerIdNil sets the value for CustomerId to be an explicit nil
func (o *PaymentRequest) UnsetCustomerId()
UnsetCustomerId ensures that no value is present for CustomerId, not even an explicit nil
func (o *PaymentRequest) GetCustomer() map[string]interface{}
GetCustomer returns the Customer field if non-nil, zero value otherwise.
func (o *PaymentRequest) 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 *PaymentRequest) SetCustomer(v map[string]interface{})
SetCustomer sets Customer field to given value.
func (o *PaymentRequest) HasCustomer() bool
HasCustomer returns a boolean if a field has been set.
func (o *PaymentRequest) SetCustomerNil(b bool)
SetCustomerNil sets the value for Customer to be an explicit nil
func (o *PaymentRequest) UnsetCustomer()
UnsetCustomer ensures that no value is present for Customer, not even an explicit nil
func (o *PaymentRequest) GetAmount() float64
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *PaymentRequest) 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 *PaymentRequest) SetAmount(v float64)
SetAmount sets Amount field to given value.
func (o *PaymentRequest) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *PaymentRequest) GetMinAmount() float64
GetMinAmount returns the MinAmount field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetMinAmountOk() (*float64, bool)
GetMinAmountOk returns a tuple with the MinAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequest) SetMinAmount(v float64)
SetMinAmount sets MinAmount field to given value.
func (o *PaymentRequest) HasMinAmount() bool
HasMinAmount returns a boolean if a field has been set.
func (o *PaymentRequest) SetMinAmountNil(b bool)
SetMinAmountNil sets the value for MinAmount to be an explicit nil
func (o *PaymentRequest) UnsetMinAmount()
UnsetMinAmount ensures that no value is present for MinAmount, not even an explicit nil
func (o *PaymentRequest) GetMaxAmount() float64
GetMaxAmount returns the MaxAmount field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetMaxAmountOk() (*float64, bool)
GetMaxAmountOk returns a tuple with the MaxAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequest) SetMaxAmount(v float64)
SetMaxAmount sets MaxAmount field to given value.
func (o *PaymentRequest) HasMaxAmount() bool
HasMaxAmount returns a boolean if a field has been set.
func (o *PaymentRequest) SetMaxAmountNil(b bool)
SetMaxAmountNil sets the value for MaxAmount to be an explicit nil
func (o *PaymentRequest) UnsetMaxAmount()
UnsetMaxAmount ensures that no value is present for MaxAmount, not even an explicit nil
func (o *PaymentRequest) GetCountry() PaymentRequestCountry
GetCountry returns the Country field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetCountryOk() (*PaymentRequestCountry, bool)
GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequest) SetCountry(v PaymentRequestCountry)
SetCountry sets Country field to given value.
func (o *PaymentRequest) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (o *PaymentRequest) GetCurrency() PaymentRequestCurrency
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *PaymentRequest) 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 *PaymentRequest) SetCurrency(v PaymentRequestCurrency)
SetCurrency sets Currency field to given value.
func (o *PaymentRequest) GetPaymentMethod() PaymentMethod
GetPaymentMethod returns the PaymentMethod field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetPaymentMethodOk() (*PaymentMethod, 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 *PaymentRequest) SetPaymentMethod(v PaymentMethod)
SetPaymentMethod sets PaymentMethod field to given value.
func (o *PaymentRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *PaymentRequest) 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 *PaymentRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *PaymentRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *PaymentRequest) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *PaymentRequest) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *PaymentRequest) GetFailureCode() string
GetFailureCode returns the FailureCode field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetFailureCodeOk() (*string, bool)
GetFailureCodeOk returns a tuple with the FailureCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequest) SetFailureCode(v string)
SetFailureCode sets FailureCode field to given value.
func (o *PaymentRequest) HasFailureCode() bool
HasFailureCode returns a boolean if a field has been set.
func (o *PaymentRequest) SetFailureCodeNil(b bool)
SetFailureCodeNil sets the value for FailureCode to be an explicit nil
func (o *PaymentRequest) UnsetFailureCode()
UnsetFailureCode ensures that no value is present for FailureCode, not even an explicit nil
func (o *PaymentRequest) GetCaptureMethod() PaymentRequestCaptureMethod
GetCaptureMethod returns the CaptureMethod field if non-nil, zero value otherwise.
func (o *PaymentRequest) 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 *PaymentRequest) SetCaptureMethod(v PaymentRequestCaptureMethod)
SetCaptureMethod sets CaptureMethod field to given value.
func (o *PaymentRequest) HasCaptureMethod() bool
HasCaptureMethod returns a boolean if a field has been set.
func (o *PaymentRequest) SetCaptureMethodNil(b bool)
SetCaptureMethodNil sets the value for CaptureMethod to be an explicit nil
func (o *PaymentRequest) UnsetCaptureMethod()
UnsetCaptureMethod ensures that no value is present for CaptureMethod, not even an explicit nil
func (o *PaymentRequest) GetInitiator() PaymentRequestInitiator
GetInitiator returns the Initiator field if non-nil, zero value otherwise.
func (o *PaymentRequest) 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 *PaymentRequest) SetInitiator(v PaymentRequestInitiator)
SetInitiator sets Initiator field to given value.
func (o *PaymentRequest) HasInitiator() bool
HasInitiator returns a boolean if a field has been set.
func (o *PaymentRequest) SetInitiatorNil(b bool)
SetInitiatorNil sets the value for Initiator to be an explicit nil
func (o *PaymentRequest) UnsetInitiator()
UnsetInitiator ensures that no value is present for Initiator, not even an explicit nil
func (o *PaymentRequest) GetCardVerificationResults() PaymentRequestCardVerificationResults
GetCardVerificationResults returns the CardVerificationResults field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetCardVerificationResultsOk() (*PaymentRequestCardVerificationResults, bool)
GetCardVerificationResultsOk returns a tuple with the CardVerificationResults field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequest) SetCardVerificationResults(v PaymentRequestCardVerificationResults)
SetCardVerificationResults sets CardVerificationResults field to given value.
func (o *PaymentRequest) HasCardVerificationResults() bool
HasCardVerificationResults returns a boolean if a field has been set.
func (o *PaymentRequest) SetCardVerificationResultsNil(b bool)
SetCardVerificationResultsNil sets the value for CardVerificationResults to be an explicit nil
func (o *PaymentRequest) UnsetCardVerificationResults()
UnsetCardVerificationResults ensures that no value is present for CardVerificationResults, not even an explicit nil
func (o *PaymentRequest) GetStatus() PaymentRequestStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetStatusOk() (*PaymentRequestStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequest) SetStatus(v PaymentRequestStatus)
SetStatus sets Status field to given value.
func (o *PaymentRequest) GetActions() []PaymentRequestAction
GetActions returns the Actions field if non-nil, zero value otherwise.
func (o *PaymentRequest) GetActionsOk() (*[]PaymentRequestAction, bool)
GetActionsOk returns a tuple with the Actions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequest) SetActions(v []PaymentRequestAction)
SetActions sets Actions field to given value.
func (o *PaymentRequest) HasActions() bool
HasActions returns a boolean if a field has been set.
func (o *PaymentRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *PaymentRequest) 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 *PaymentRequest) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
func (o *PaymentRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *PaymentRequest) SetMetadataNil(b bool)
SetMetadataNil sets the value for Metadata to be an explicit nil
func (o *PaymentRequest) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (o *PaymentRequest) GetShippingInformation() PaymentRequestShippingInformation
GetShippingInformation returns the ShippingInformation field if non-nil, zero value otherwise.
func (o *PaymentRequest) 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 *PaymentRequest) SetShippingInformation(v PaymentRequestShippingInformation)
SetShippingInformation sets ShippingInformation field to given value.
func (o *PaymentRequest) HasShippingInformation() bool
HasShippingInformation returns a boolean if a field has been set.
func (o *PaymentRequest) SetShippingInformationNil(b bool)
SetShippingInformationNil sets the value for ShippingInformation to be an explicit nil
func (o *PaymentRequest) UnsetShippingInformation()
UnsetShippingInformation ensures that no value is present for ShippingInformation, not even an explicit nil
func (o *PaymentRequest) GetItems() []PaymentRequestBasketItem
GetItems returns the Items field if non-nil, zero value otherwise.
func (o *PaymentRequest) 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 *PaymentRequest) SetItems(v []PaymentRequestBasketItem)
SetItems sets Items field to given value.
func (o *PaymentRequest) HasItems() bool
HasItems returns a boolean if a field has been set.
func (o *PaymentRequest) SetItemsNil(b bool)
SetItemsNil sets the value for Items to be an explicit nil
func (o *PaymentRequest) UnsetItems()
UnsetItems ensures that no value is present for Items, not even an explicit nil