Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 4.95 KB

GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner.md

File metadata and controls

108 lines (59 loc) · 4.95 KB

GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner

Properties

Name Type Description Notes
Amount Pointer to int64 Discount Amount [optional]
Type Pointer to string Discount Type [optional]
BudgetDetails Pointer to []GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInnerBudgetDetailsInner [optional]

Methods

NewGetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner

func NewGetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner() *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner

NewGetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner instantiates a new GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner 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

NewGetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInnerWithDefaults

func NewGetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInnerWithDefaults() *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner

NewGetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInnerWithDefaults instantiates a new GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner 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

GetAmount

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) GetAmount() int64

GetAmount returns the Amount field if non-nil, zero value otherwise.

GetAmountOk

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) GetAmountOk() (*int64, 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.

SetAmount

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) SetAmount(v int64)

SetAmount sets Amount field to given value.

HasAmount

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) HasAmount() bool

HasAmount returns a boolean if a field has been set.

GetType

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) 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.

SetType

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) HasType() bool

HasType returns a boolean if a field has been set.

GetBudgetDetails

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) GetBudgetDetails() []GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInnerBudgetDetailsInner

GetBudgetDetails returns the BudgetDetails field if non-nil, zero value otherwise.

GetBudgetDetailsOk

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) GetBudgetDetailsOk() (*[]GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInnerBudgetDetailsInner, bool)

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

SetBudgetDetails

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) SetBudgetDetails(v []GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInnerBudgetDetailsInner)

SetBudgetDetails sets BudgetDetails field to given value.

HasBudgetDetails

func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner) HasBudgetDetails() bool

HasBudgetDetails returns a boolean if a field has been set.

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