Class: Google::Apis::PaymentsresellersubscriptionV1::ProductPayload
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::ProductPayload
- 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
Specifies product specific payload.
Instance Attribute Summary collapse
-
#google_home_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleHomePayload
Payload specific for Google Home products.
-
#google_one_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleOnePayload
Payload specific to Google One products.
-
#youtube_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::YoutubePayload
Payload specific to Youtube products.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductPayload
constructor
A new instance of ProductPayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductPayload
Returns a new instance of ProductPayload.
888 889 890 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 888 def initialize(**args) update!(**args) end |
Instance Attribute Details
#google_home_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleHomePayload
Payload specific for Google Home products.
Corresponds to the JSON property googleHomePayload
876 877 878 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 876 def google_home_payload @google_home_payload end |
#google_one_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleOnePayload
Payload specific to Google One products.
Corresponds to the JSON property googleOnePayload
881 882 883 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 881 def google_one_payload @google_one_payload end |
#youtube_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::YoutubePayload
Payload specific to Youtube products.
Corresponds to the JSON property youtubePayload
886 887 888 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 886 def youtube_payload @youtube_payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
893 894 895 896 897 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 893 def update!(**args) @google_home_payload = args[:google_home_payload] if args.key?(:google_home_payload) @google_one_payload = args[:google_one_payload] if args.key?(:google_one_payload) @youtube_payload = args[:youtube_payload] if args.key?(:youtube_payload) end |