| Name | Type | Description | Notes |
|---|---|---|---|
| Id | int32 | Unique identifier of the payment option. | [readonly] |
| Name | string | Human readable name of the payment option. | |
| AvailableFrom | float32 | Minimum required price before this option is allowed. | |
| ExtraCost | string | Extra cost on the invoice if this option is used. | |
| Percentage | NullableFloat32 | If the type of payment option is with a percentual deposit. | |
| Multiplier | NullableString | The multiplier to get the total cost. |
func NewPaymentOption(id int32, name string, availableFrom float32, extraCost string, percentage NullableFloat32, multiplier NullableString, ) *PaymentOption
NewPaymentOption instantiates a new PaymentOption 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 NewPaymentOptionWithDefaults() *PaymentOption
NewPaymentOptionWithDefaults instantiates a new PaymentOption 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 *PaymentOption) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PaymentOption) GetIdOk() (*int32, 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 *PaymentOption) SetId(v int32)
SetId sets Id field to given value.
func (o *PaymentOption) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PaymentOption) 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 *PaymentOption) SetName(v string)
SetName sets Name field to given value.
func (o *PaymentOption) GetAvailableFrom() float32
GetAvailableFrom returns the AvailableFrom field if non-nil, zero value otherwise.
func (o *PaymentOption) GetAvailableFromOk() (*float32, bool)
GetAvailableFromOk returns a tuple with the AvailableFrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentOption) SetAvailableFrom(v float32)
SetAvailableFrom sets AvailableFrom field to given value.
func (o *PaymentOption) GetExtraCost() string
GetExtraCost returns the ExtraCost field if non-nil, zero value otherwise.
func (o *PaymentOption) GetExtraCostOk() (*string, bool)
GetExtraCostOk returns a tuple with the ExtraCost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentOption) SetExtraCost(v string)
SetExtraCost sets ExtraCost field to given value.
func (o *PaymentOption) GetPercentage() float32
GetPercentage returns the Percentage field if non-nil, zero value otherwise.
func (o *PaymentOption) GetPercentageOk() (*float32, bool)
GetPercentageOk returns a tuple with the Percentage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentOption) SetPercentage(v float32)
SetPercentage sets Percentage field to given value.
func (o *PaymentOption) SetPercentageNil(b bool)
SetPercentageNil sets the value for Percentage to be an explicit nil
func (o *PaymentOption) UnsetPercentage()
UnsetPercentage ensures that no value is present for Percentage, not even an explicit nil
func (o *PaymentOption) GetMultiplier() string
GetMultiplier returns the Multiplier field if non-nil, zero value otherwise.
func (o *PaymentOption) GetMultiplierOk() (*string, bool)
GetMultiplierOk returns a tuple with the Multiplier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentOption) SetMultiplier(v string)
SetMultiplier sets Multiplier field to given value.
func (o *PaymentOption) SetMultiplierNil(b bool)
SetMultiplierNil sets the value for Multiplier to be an explicit nil
func (o *PaymentOption) UnsetMultiplier()
UnsetMultiplier ensures that no value is present for Multiplier, not even an explicit nil