Class: Google::Apis::PaymentsresellersubscriptionV1::ProductBundleDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_elementsArray<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_modeString

The entitlement mode of the bundle product. Corresponds to the JSON property entitlementMode

Returns:

  • (String)


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