google_api_content v0.4.0 GoogleApi.Content.V2.Model.OrderLegacyPromotionBenefit View Source
Attributes
- discount (Price): The discount in the order price when the promotion is applied. Defaults to:
null
. - offerIds ([String.t]): The OfferId(s) that were purchased in this order and map to this specific benefit of the promotion. Defaults to:
null
. - subType (String.t): Further describes the benefit of the promotion. Note that we will expand on this enumeration as we support new promotion sub-types. Defaults to:
null
. - taxImpact (Price): The impact on tax when the promotion is applied. Defaults to:
null
. - type (String.t): Describes whether the promotion applies to products (e.g. 20% off) or to shipping (e.g. Free Shipping). Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Content.V2.Model.OrderLegacyPromotionBenefit{
discount: GoogleApi.Content.V2.Model.Price.t(),
offerIds: [any()],
subType: any(),
taxImpact: GoogleApi.Content.V2.Model.Price.t(),
type: any()
}
t() :: %GoogleApi.Content.V2.Model.OrderLegacyPromotionBenefit{ discount: GoogleApi.Content.V2.Model.Price.t(), offerIds: [any()], subType: any(), taxImpact: GoogleApi.Content.V2.Model.Price.t(), type: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.