Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails
- 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 details of the line item to be entitled.
Instance Attribute Summary collapse
-
#line_item_index ⇒ Fixnum
Required.
-
#products ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails
constructor
A new instance of GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails
Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails.
235 236 237 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 235 def initialize(**args) update!(**args) end |
Instance Attribute Details
#line_item_index ⇒ Fixnum
Required. The index of the line item to be entitled.
Corresponds to the JSON property lineItemIndex
225 226 227 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 225 def line_item_index @line_item_index end |
#products ⇒ Array<String>
Optional. Only applicable if the line item corresponds to a hard bundle.
Product resource names that identify the bundle elements to be entitled in the
line item. If unspecified, all bundle elements will be entitled. The format is
'partners/partner_id
/products/product_id
'.
Corresponds to the JSON property products
233 234 235 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 233 def products @products end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
240 241 242 243 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 240 def update!(**args) @line_item_index = args[:line_item_index] if args.key?(:line_item_index) @products = args[:products] if args.key?(:products) end |