Class: Google::Apis::YoutubeV3::ChannelToStoreLinkDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChannelToStoreLinkDetails

Returns a new instance of ChannelToStoreLinkDetails.



1934
1935
1936
# File 'lib/google/apis/youtube_v3/classes.rb', line 1934

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

Instance Attribute Details

#billing_detailsGoogle::Apis::YoutubeV3::ChannelToStoreLinkDetailsBillingDetails

Information specific to billing. Corresponds to the JSON property billingDetails



1917
1918
1919
# File 'lib/google/apis/youtube_v3/classes.rb', line 1917

def billing_details
  @billing_details
end

#merchant_idFixnum

Google Merchant Center id of the store. Corresponds to the JSON property merchantId

Returns:

  • (Fixnum)


1922
1923
1924
# File 'lib/google/apis/youtube_v3/classes.rb', line 1922

def merchant_id
  @merchant_id
end

#store_nameString

Name of the store. Corresponds to the JSON property storeName

Returns:

  • (String)


1927
1928
1929
# File 'lib/google/apis/youtube_v3/classes.rb', line 1927

def store_name
  @store_name
end

#store_urlString

Landing page of the store. Corresponds to the JSON property storeUrl

Returns:

  • (String)


1932
1933
1934
# File 'lib/google/apis/youtube_v3/classes.rb', line 1932

def store_url
  @store_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1939
1940
1941
1942
1943
1944
# File 'lib/google/apis/youtube_v3/classes.rb', line 1939

def update!(**args)
  @billing_details = args[:billing_details] if args.key?(:billing_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