Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails

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

The details for an element in the hard bundle.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails

Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails.



1229
1230
1231
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1229

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#productString

Output only. Product resource name that identifies the bundle element. The format is 'partners/partner_id/products/product_id'. Corresponds to the JSON property product

Returns:

  • (String)


1222
1223
1224
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1222

def product
  @product
end

#user_account_linked_timeString

Output only. The time when this product is linked to an end user. Corresponds to the JSON property userAccountLinkedTime

Returns:

  • (String)


1227
1228
1229
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1227

def 
  @user_account_linked_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1234
1235
1236
1237
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1234

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