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.



1302
1303
1304
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1302

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



1295
1296
1297
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1295

def bundle_elements
  @bundle_elements
end

#entitlement_modeString

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

Returns:

  • (String)


1300
1301
1302
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1300

def entitlement_mode
  @entitlement_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1307
1308
1309
1310
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1307

def update!(**args)
  @bundle_elements = args[:bundle_elements] if args.key?(:bundle_elements)
  @entitlement_mode = args[:entitlement_mode] if args.key?(:entitlement_mode)
end