| 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] |
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
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
func (o *InvoiceItemDiscountAmountsExternal) GetAmountAtom() int32
GetAmountAtom returns the AmountAtom field if non-nil, zero value otherwise.
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.
func (o *InvoiceItemDiscountAmountsExternal) SetAmountAtom(v int32)
SetAmountAtom sets AmountAtom field to given value.
func (o *InvoiceItemDiscountAmountsExternal) GetDiscountId() string
GetDiscountId returns the DiscountId field if non-nil, zero value otherwise.
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.
func (o *InvoiceItemDiscountAmountsExternal) SetDiscountId(v string)
SetDiscountId sets DiscountId field to given value.
func (o *InvoiceItemDiscountAmountsExternal) GetObject() ObjectName
GetObject returns the Object field if non-nil, zero value otherwise.
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.
func (o *InvoiceItemDiscountAmountsExternal) SetObject(v ObjectName)
SetObject sets Object field to given value.
func (o *InvoiceItemDiscountAmountsExternal) HasObject() bool
HasObject returns a boolean if a field has been set.