Class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::ChannelToStoreLinkDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb
Overview
Information specific to a store on a merchandising platform linked to a YouTube channel.
Instance Attribute Summary collapse
-
#billing_details ⇒ Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsBillingDetails
Information specific to billing.
-
#merchant_affiliate_program_details ⇒ Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails
Information specific to merchant affiliate program.
-
#merchant_id ⇒ Fixnum
Google Merchant Center id of the store.
-
#store_name ⇒ String
Name of the store.
-
#store_url ⇒ String
Landing page of the store.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelToStoreLinkDetails
constructor
A new instance of ChannelToStoreLinkDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChannelToStoreLinkDetails
Returns a new instance of ChannelToStoreLinkDetails.
1981 1982 1983 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1981 def initialize(**args) update!(**args) end |
Instance Attribute Details
#billing_details ⇒ Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsBillingDetails
Information specific to billing.
Corresponds to the JSON property billingDetails
1959 1960 1961 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1959 def billing_details @billing_details end |
#merchant_affiliate_program_details ⇒ Google::Apis::YoutubeV3::ChannelToStoreLinkDetailsMerchantAffiliateProgramDetails
Information specific to merchant affiliate program.
Corresponds to the JSON property merchantAffiliateProgramDetails
1964 1965 1966 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1964 def merchant_affiliate_program_details @merchant_affiliate_program_details end |
#merchant_id ⇒ Fixnum
Google Merchant Center id of the store.
Corresponds to the JSON property merchantId
1969 1970 1971 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1969 def merchant_id @merchant_id end |
#store_name ⇒ String
Name of the store.
Corresponds to the JSON property storeName
1974 1975 1976 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1974 def store_name @store_name end |
#store_url ⇒ String
Landing page of the store.
Corresponds to the JSON property storeUrl
1979 1980 1981 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1979 def store_url @store_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1986 1987 1988 1989 1990 1991 1992 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 1986 def update!(**args) @billing_details = args[:billing_details] if args.key?(:billing_details) @merchant_affiliate_program_details = args[:merchant_affiliate_program_details] if args.key?(:merchant_affiliate_program_details) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) @store_name = args[:store_name] if args.key?(:store_name) @store_url = args[:store_url] if args.key?(:store_url) end |