Name | Type | Required | Description | Examples |
---|---|---|---|---|
ReferenceId | Pointer to string | |||
Name | string | ☑️ | ||
Description | Pointer to string | |||
Type | Pointer to string | |||
Category | string | ☑️ | ||
SubCategory | Pointer to string | |||
Currency | string | ☑️ | ||
Quantity | float64 | ☑️ | ||
Price | float64 | ☑️ | ||
PayerChargedCurrency | Pointer to string | |||
PayerChargedPrice | Pointer to float64 | |||
Url | Pointer to string | |||
Metadata | Pointer to map[string]interface{} |
func NewPaymentRequestBasketItem(name string, category string, currency string, quantity float64, price float64, ) *PaymentRequestBasketItem
NewPaymentRequestBasketItem instantiates a new PaymentRequestBasketItem 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 NewPaymentRequestBasketItemWithDefaults() *PaymentRequestBasketItem
NewPaymentRequestBasketItemWithDefaults instantiates a new PaymentRequestBasketItem 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 *PaymentRequestBasketItem) GetReferenceId() string
GetReferenceId returns the ReferenceId field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) 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 *PaymentRequestBasketItem) SetReferenceId(v string)
SetReferenceId sets ReferenceId field to given value.
func (o *PaymentRequestBasketItem) HasReferenceId() bool
HasReferenceId returns a boolean if a field has been set.
func (o *PaymentRequestBasketItem) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestBasketItem) SetName(v string)
SetName sets Name field to given value.
func (o *PaymentRequestBasketItem) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) 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 *PaymentRequestBasketItem) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *PaymentRequestBasketItem) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *PaymentRequestBasketItem) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestBasketItem) SetType(v string)
SetType sets Type field to given value.
func (o *PaymentRequestBasketItem) HasType() bool
HasType returns a boolean if a field has been set.
func (o *PaymentRequestBasketItem) GetCategory() string
GetCategory returns the Category field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestBasketItem) SetCategory(v string)
SetCategory sets Category field to given value.
func (o *PaymentRequestBasketItem) GetSubCategory() string
GetSubCategory returns the SubCategory field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) GetSubCategoryOk() (*string, bool)
GetSubCategoryOk returns a tuple with the SubCategory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestBasketItem) SetSubCategory(v string)
SetSubCategory sets SubCategory field to given value.
func (o *PaymentRequestBasketItem) HasSubCategory() bool
HasSubCategory returns a boolean if a field has been set.
func (o *PaymentRequestBasketItem) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) GetCurrencyOk() (*string, 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 *PaymentRequestBasketItem) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *PaymentRequestBasketItem) GetQuantity() float64
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) GetQuantityOk() (*float64, bool)
GetQuantityOk returns a tuple with the Quantity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestBasketItem) SetQuantity(v float64)
SetQuantity sets Quantity field to given value.
func (o *PaymentRequestBasketItem) GetPrice() float64
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) GetPriceOk() (*float64, bool)
GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestBasketItem) SetPrice(v float64)
SetPrice sets Price field to given value.
func (o *PaymentRequestBasketItem) GetPayerChargedCurrency() string
GetPayerChargedCurrency returns the PayerChargedCurrency field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) GetPayerChargedCurrencyOk() (*string, bool)
GetPayerChargedCurrencyOk returns a tuple with the PayerChargedCurrency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestBasketItem) SetPayerChargedCurrency(v string)
SetPayerChargedCurrency sets PayerChargedCurrency field to given value.
func (o *PaymentRequestBasketItem) HasPayerChargedCurrency() bool
HasPayerChargedCurrency returns a boolean if a field has been set.
func (o *PaymentRequestBasketItem) GetPayerChargedPrice() float64
GetPayerChargedPrice returns the PayerChargedPrice field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) GetPayerChargedPriceOk() (*float64, bool)
GetPayerChargedPriceOk returns a tuple with the PayerChargedPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestBasketItem) SetPayerChargedPrice(v float64)
SetPayerChargedPrice sets PayerChargedPrice field to given value.
func (o *PaymentRequestBasketItem) HasPayerChargedPrice() bool
HasPayerChargedPrice returns a boolean if a field has been set.
func (o *PaymentRequestBasketItem) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentRequestBasketItem) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *PaymentRequestBasketItem) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *PaymentRequestBasketItem) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *PaymentRequestBasketItem) 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 *PaymentRequestBasketItem) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
func (o *PaymentRequestBasketItem) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.