Class: Google::Apis::PaymentsresellersubscriptionV1::IntentPayloadIntentOptions
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::IntentPayloadIntentOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/paymentsresellersubscription_v1/classes.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb
Overview
The options for the intent.
Instance Attribute Summary collapse
-
#enable_offer_override ⇒ Boolean
(also: #enable_offer_override?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IntentPayloadIntentOptions
constructor
A new instance of IntentPayloadIntentOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IntentPayloadIntentOptions
Returns a new instance of IntentPayloadIntentOptions.
673 674 675 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 673 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_offer_override ⇒ Boolean Also known as: enable_offer_override?
Optional. If true, Google may use a different product and promotion id from
the ones in the create_intent based on the user's eligibility. Only
applicable for certain YouTube free trial offers.
Corresponds to the JSON property enableOfferOverride
670 671 672 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 670 def enable_offer_override @enable_offer_override end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
678 679 680 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 678 def update!(**args) @enable_offer_override = args[:enable_offer_override] if args.key?(:enable_offer_override) end |