Class: Google::Apis::ContentV2::AccountShippingBatchRequestEntry
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::AccountShippingBatchRequestEntry
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Overview
A batch entry encoding a single non-batch accountshipping request.
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ID of the account for which to get/update account shipping settings.
-
#account_shipping ⇒ Google::Apis::ContentV2::AccountShipping
The shipping settings of a merchant account.
-
#batch_id ⇒ Fixnum
An entry ID, unique within the batch request.
-
#merchant_id ⇒ String
The ID of the managing account.
-
#request_method ⇒ String
Corresponds to the JSON property
method
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountShippingBatchRequestEntry
constructor
A new instance of AccountShippingBatchRequestEntry.
-
#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) ⇒ AccountShippingBatchRequestEntry
Returns a new instance of AccountShippingBatchRequestEntry.
1102 1103 1104 |
# File 'generated/google/apis/content_v2/classes.rb', line 1102 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
The ID of the account for which to get/update account shipping settings.
Corresponds to the JSON property accountId
1080 1081 1082 |
# File 'generated/google/apis/content_v2/classes.rb', line 1080 def account_id @account_id end |
#account_shipping ⇒ Google::Apis::ContentV2::AccountShipping
The shipping settings of a merchant account.
Corresponds to the JSON property accountShipping
1085 1086 1087 |
# File 'generated/google/apis/content_v2/classes.rb', line 1085 def account_shipping @account_shipping end |
#batch_id ⇒ Fixnum
An entry ID, unique within the batch request.
Corresponds to the JSON property batchId
1090 1091 1092 |
# File 'generated/google/apis/content_v2/classes.rb', line 1090 def batch_id @batch_id end |
#merchant_id ⇒ String
The ID of the managing account.
Corresponds to the JSON property merchantId
1095 1096 1097 |
# File 'generated/google/apis/content_v2/classes.rb', line 1095 def merchant_id @merchant_id end |
#request_method ⇒ String
Corresponds to the JSON property method
1100 1101 1102 |
# File 'generated/google/apis/content_v2/classes.rb', line 1100 def request_method @request_method end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1107 1108 1109 1110 1111 1112 1113 |
# File 'generated/google/apis/content_v2/classes.rb', line 1107 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @account_shipping = args[:account_shipping] if args.key?(:account_shipping) @batch_id = args[:batch_id] if args.key?(:batch_id) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) @request_method = args[:request_method] if args.key?(:request_method) end |