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.
662 663 664 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 662 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
659 660 661 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 659 def enable_offer_override @enable_offer_override end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
667 668 669 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 667 def update!(**args) @enable_offer_override = args[:enable_offer_override] if args.key?(:enable_offer_override) end |