Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload

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

Payload specific to Youtube products.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload

Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.



1060
1061
1062
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1060

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

Instance Attribute Details

#partner_eligibility_idsArray<String>

The list of eligibility_ids which are applicable for the line item. Corresponds to the JSON property partnerEligibilityIds

Returns:

  • (Array<String>)


1058
1059
1060
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1058

def partner_eligibility_ids
  @partner_eligibility_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1065
1066
1067
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1065

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