Class: Google::Apis::ContentV2::LiasettingsCustomBatchRequestEntry
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::LiasettingsCustomBatchRequestEntry
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Fixnum
The ID of the account for which to get/update account shipping settings.
-
#batch_id ⇒ Fixnum
An entry ID, unique within the batch request.
-
#contact_email ⇒ String
Inventory validation contact email.
-
#contact_name ⇒ String
Inventory validation contact name.
-
#country ⇒ String
The country code.
-
#gmb_email ⇒ String
The GMB account.
-
#lia_settings ⇒ Google::Apis::ContentV2::LiaSettings
The account Lia settings to update.
-
#merchant_id ⇒ Fixnum
The ID of the managing account.
-
#method_prop ⇒ String
Corresponds to the JSON property
method
. -
#pos_external_account_id ⇒ String
The account ID by which this merchant is known to the POS provider.
-
#pos_provider_id ⇒ Fixnum
The ID of POS provider.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiasettingsCustomBatchRequestEntry
constructor
A new instance of LiasettingsCustomBatchRequestEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiasettingsCustomBatchRequestEntry
Returns a new instance of LiasettingsCustomBatchRequestEntry
2829 2830 2831 |
# File 'generated/google/apis/content_v2/classes.rb', line 2829 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ Fixnum
The ID of the account for which to get/update account shipping settings.
Corresponds to the JSON property accountId
2775 2776 2777 |
# File 'generated/google/apis/content_v2/classes.rb', line 2775 def account_id @account_id end |
#batch_id ⇒ Fixnum
An entry ID, unique within the batch request.
Corresponds to the JSON property batchId
2780 2781 2782 |
# File 'generated/google/apis/content_v2/classes.rb', line 2780 def batch_id @batch_id end |
#contact_email ⇒ String
Inventory validation contact email. Required only for
SetInventoryValidationContact.
Corresponds to the JSON property contactEmail
2786 2787 2788 |
# File 'generated/google/apis/content_v2/classes.rb', line 2786 def contact_email @contact_email end |
#contact_name ⇒ String
Inventory validation contact name. Required only for
SetInventoryValidationContact.
Corresponds to the JSON property contactName
2792 2793 2794 |
# File 'generated/google/apis/content_v2/classes.rb', line 2792 def contact_name @contact_name end |
#country ⇒ String
The country code. Required only for RequestInventoryVerification.
Corresponds to the JSON property country
2797 2798 2799 |
# File 'generated/google/apis/content_v2/classes.rb', line 2797 def country @country end |
#gmb_email ⇒ String
The GMB account. Required only for RequestGmbAccess.
Corresponds to the JSON property gmbEmail
2802 2803 2804 |
# File 'generated/google/apis/content_v2/classes.rb', line 2802 def gmb_email @gmb_email end |
#lia_settings ⇒ Google::Apis::ContentV2::LiaSettings
The account Lia settings to update. Only defined if the method is update.
Corresponds to the JSON property liaSettings
2807 2808 2809 |
# File 'generated/google/apis/content_v2/classes.rb', line 2807 def lia_settings @lia_settings end |
#merchant_id ⇒ Fixnum
The ID of the managing account.
Corresponds to the JSON property merchantId
2812 2813 2814 |
# File 'generated/google/apis/content_v2/classes.rb', line 2812 def merchant_id @merchant_id end |
#method_prop ⇒ String
Corresponds to the JSON property method
2817 2818 2819 |
# File 'generated/google/apis/content_v2/classes.rb', line 2817 def method_prop @method_prop end |
#pos_external_account_id ⇒ String
The account ID by which this merchant is known to the POS provider.
Corresponds to the JSON property posExternalAccountId
2822 2823 2824 |
# File 'generated/google/apis/content_v2/classes.rb', line 2822 def pos_external_account_id @pos_external_account_id end |
#pos_provider_id ⇒ Fixnum
The ID of POS provider. Required only for SetPosProvider.
Corresponds to the JSON property posProviderId
2827 2828 2829 |
# File 'generated/google/apis/content_v2/classes.rb', line 2827 def pos_provider_id @pos_provider_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 |
# File 'generated/google/apis/content_v2/classes.rb', line 2834 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @batch_id = args[:batch_id] if args.key?(:batch_id) @contact_email = args[:contact_email] if args.key?(:contact_email) @contact_name = args[:contact_name] if args.key?(:contact_name) @country = args[:country] if args.key?(:country) @gmb_email = args[:gmb_email] if args.key?(:gmb_email) @lia_settings = args[:lia_settings] if args.key?(:lia_settings) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) @method_prop = args[:method_prop] if args.key?(:method_prop) @pos_external_account_id = args[:pos_external_account_id] if args.key?(:pos_external_account_id) @pos_provider_id = args[:pos_provider_id] if args.key?(:pos_provider_id) end |