Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | Promo Name | [optional] |
IsCoupon | Pointer to bool | Promo Name | [optional] |
ShowCashbackAmount | Pointer to bool | Show cashback amount? | [optional] |
ShowDiscountAmount | Pointer to bool | Show discount amount? | [optional] |
CashbackAmount | Pointer to int64 | Cashback Amount | [optional] |
CashbackPoints | Pointer to int64 | Cashback Point | [optional] |
Type | Pointer to string | Promo Type | [optional] |
DiscountAmount | Pointer to int64 | Discount Amount | [optional] |
DiscountDetails | Pointer to []GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner | [optional] | |
InvoiceDesc | Pointer to string | Discount Invoice Description | [optional] |
func NewGetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner() *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner
NewGetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner instantiates a new GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner 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 NewGetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerWithDefaults() *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner
NewGetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerWithDefaults instantiates a new GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner 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 *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) 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 *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) SetName(v string)
SetName sets Name field to given value.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) HasName() bool
HasName returns a boolean if a field has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetIsCoupon() bool
GetIsCoupon returns the IsCoupon field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetIsCouponOk() (*bool, bool)
GetIsCouponOk returns a tuple with the IsCoupon field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) SetIsCoupon(v bool)
SetIsCoupon sets IsCoupon field to given value.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) HasIsCoupon() bool
HasIsCoupon returns a boolean if a field has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetShowCashbackAmount() bool
GetShowCashbackAmount returns the ShowCashbackAmount field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetShowCashbackAmountOk() (*bool, bool)
GetShowCashbackAmountOk returns a tuple with the ShowCashbackAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) SetShowCashbackAmount(v bool)
SetShowCashbackAmount sets ShowCashbackAmount field to given value.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) HasShowCashbackAmount() bool
HasShowCashbackAmount returns a boolean if a field has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetShowDiscountAmount() bool
GetShowDiscountAmount returns the ShowDiscountAmount field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetShowDiscountAmountOk() (*bool, bool)
GetShowDiscountAmountOk returns a tuple with the ShowDiscountAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) SetShowDiscountAmount(v bool)
SetShowDiscountAmount sets ShowDiscountAmount field to given value.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) HasShowDiscountAmount() bool
HasShowDiscountAmount returns a boolean if a field has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetCashbackAmount() int64
GetCashbackAmount returns the CashbackAmount field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetCashbackAmountOk() (*int64, bool)
GetCashbackAmountOk returns a tuple with the CashbackAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) SetCashbackAmount(v int64)
SetCashbackAmount sets CashbackAmount field to given value.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) HasCashbackAmount() bool
HasCashbackAmount returns a boolean if a field has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetCashbackPoints() int64
GetCashbackPoints returns the CashbackPoints field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetCashbackPointsOk() (*int64, bool)
GetCashbackPointsOk returns a tuple with the CashbackPoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) SetCashbackPoints(v int64)
SetCashbackPoints sets CashbackPoints field to given value.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) HasCashbackPoints() bool
HasCashbackPoints returns a boolean if a field has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) 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 *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) SetType(v string)
SetType sets Type field to given value.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) HasType() bool
HasType returns a boolean if a field has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetDiscountAmount() int64
GetDiscountAmount returns the DiscountAmount field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetDiscountAmountOk() (*int64, bool)
GetDiscountAmountOk returns a tuple with the DiscountAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) SetDiscountAmount(v int64)
SetDiscountAmount sets DiscountAmount field to given value.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) HasDiscountAmount() bool
HasDiscountAmount returns a boolean if a field has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetDiscountDetails() []GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner
GetDiscountDetails returns the DiscountDetails field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetDiscountDetailsOk() (*[]GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner, bool)
GetDiscountDetailsOk returns a tuple with the DiscountDetails field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) SetDiscountDetails(v []GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInnerDiscountDetailsInner)
SetDiscountDetails sets DiscountDetails field to given value.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) HasDiscountDetails() bool
HasDiscountDetails returns a boolean if a field has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetInvoiceDesc() string
GetInvoiceDesc returns the InvoiceDesc field if non-nil, zero value otherwise.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) GetInvoiceDescOk() (*string, bool)
GetInvoiceDescOk returns a tuple with the InvoiceDesc field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) SetInvoiceDesc(v string)
SetInvoiceDesc sets InvoiceDesc field to given value.
func (o *GetAllOrders200ResponseDataInnerPromoOrderDetailSummaryPromoInner) HasInvoiceDesc() bool
HasInvoiceDesc returns a boolean if a field has been set.