Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 3.16 KB

File metadata and controls

98 lines (53 loc) · 3.16 KB

InvoiceItemDiscountAmountsExternal

Properties

Name Type Description Notes
AmountAtom int32 The amount_atom, of the discount.
DiscountId string Id of the discount that was applied to get this discount amount.
Object Pointer to ObjectName [optional]

Methods

NewInvoiceItemDiscountAmountsExternal

func NewInvoiceItemDiscountAmountsExternal(amountAtom int32, discountId string, ) *InvoiceItemDiscountAmountsExternal

NewInvoiceItemDiscountAmountsExternal instantiates a new InvoiceItemDiscountAmountsExternal 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

NewInvoiceItemDiscountAmountsExternalWithDefaults

func NewInvoiceItemDiscountAmountsExternalWithDefaults() *InvoiceItemDiscountAmountsExternal

NewInvoiceItemDiscountAmountsExternalWithDefaults instantiates a new InvoiceItemDiscountAmountsExternal 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

GetAmountAtom

func (o *InvoiceItemDiscountAmountsExternal) GetAmountAtom() int32

GetAmountAtom returns the AmountAtom field if non-nil, zero value otherwise.

GetAmountAtomOk

func (o *InvoiceItemDiscountAmountsExternal) GetAmountAtomOk() (*int32, bool)

GetAmountAtomOk returns a tuple with the AmountAtom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAmountAtom

func (o *InvoiceItemDiscountAmountsExternal) SetAmountAtom(v int32)

SetAmountAtom sets AmountAtom field to given value.

GetDiscountId

func (o *InvoiceItemDiscountAmountsExternal) GetDiscountId() string

GetDiscountId returns the DiscountId field if non-nil, zero value otherwise.

GetDiscountIdOk

func (o *InvoiceItemDiscountAmountsExternal) GetDiscountIdOk() (*string, bool)

GetDiscountIdOk returns a tuple with the DiscountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDiscountId

func (o *InvoiceItemDiscountAmountsExternal) SetDiscountId(v string)

SetDiscountId sets DiscountId field to given value.

GetObject

func (o *InvoiceItemDiscountAmountsExternal) GetObject() ObjectName

GetObject returns the Object field if non-nil, zero value otherwise.

GetObjectOk

func (o *InvoiceItemDiscountAmountsExternal) GetObjectOk() (*ObjectName, bool)

GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetObject

func (o *InvoiceItemDiscountAmountsExternal) SetObject(v ObjectName)

SetObject sets Object field to given value.

HasObject

func (o *InvoiceItemDiscountAmountsExternal) HasObject() bool

HasObject returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]