Class: Google::Apis::PaymentsresellersubscriptionV1::YoutubePayload

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) ⇒ YoutubePayload

Returns a new instance of YoutubePayload.



1713
1714
1715
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1713

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

Instance Attribute Details

#access_end_timeString

Output only. The access expiration time for this line item. Corresponds to the JSON property accessEndTime

Returns:

  • (String)


1701
1702
1703
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1701

def access_end_time
  @access_end_time
end

#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>)


1706
1707
1708
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1706

def partner_eligibility_ids
  @partner_eligibility_ids
end

#partner_plan_typeString

Optional. Specifies the plan type offered to the end user by the partner. Corresponds to the JSON property partnerPlanType

Returns:

  • (String)


1711
1712
1713
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1711

def partner_plan_type
  @partner_plan_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1718
1719
1720
1721
1722
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1718

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