Class: Google::Apis::PaymentsresellersubscriptionV1::ProductBundleDetails
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::ProductBundleDetails
- 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
Details for a bundle product.
Instance Attribute Summary collapse
-
#bundle_elements ⇒ Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement>
The individual products that are included in the bundle.
-
#entitlement_mode ⇒ String
The entitlement mode of the bundle product.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductBundleDetails
constructor
A new instance of ProductBundleDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductBundleDetails
Returns a new instance of ProductBundleDetails.
1476 1477 1478 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1476 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bundle_elements ⇒ Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement>
The individual products that are included in the bundle.
Corresponds to the JSON property bundleElements
1469 1470 1471 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1469 def bundle_elements @bundle_elements end |
#entitlement_mode ⇒ String
The entitlement mode of the bundle product.
Corresponds to the JSON property entitlementMode
1474 1475 1476 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1474 def entitlement_mode @entitlement_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1481 1482 1483 1484 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1481 def update!(**args) @bundle_elements = args[:bundle_elements] if args.key?(:bundle_elements) @entitlement_mode = args[:entitlement_mode] if args.key?(:entitlement_mode) end |