Class: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequestEntry
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequestEntry
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#batch_id ⇒ Fixnum
An entry ID, unique within the batch request.
-
#merchant_id ⇒ Fixnum
The Merchant Center account ID.
-
#method_prop ⇒ String
Method of the batch request entry.
-
#return_policy ⇒ Google::Apis::ContentV2_1::ReturnPolicy
Return policy resource.
-
#return_policy_id ⇒ String
The return policy ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReturnpolicyCustomBatchRequestEntry
constructor
A new instance of ReturnpolicyCustomBatchRequestEntry.
-
#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) ⇒ ReturnpolicyCustomBatchRequestEntry
Returns a new instance of ReturnpolicyCustomBatchRequestEntry.
10365 10366 10367 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10365 def initialize(**args) update!(**args) end |
Instance Attribute Details
#batch_id ⇒ Fixnum
An entry ID, unique within the batch request.
Corresponds to the JSON property batchId
10339 10340 10341 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10339 def batch_id @batch_id end |
#merchant_id ⇒ Fixnum
The Merchant Center account ID.
Corresponds to the JSON property merchantId
10344 10345 10346 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10344 def merchant_id @merchant_id end |
#method_prop ⇒ String
Method of the batch request entry. Acceptable values are:
- "
delete
" - "
get
" - "
insert
" Corresponds to the JSON propertymethod
10353 10354 10355 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10353 def method_prop @method_prop end |
#return_policy ⇒ Google::Apis::ContentV2_1::ReturnPolicy
Return policy resource.
Corresponds to the JSON property returnPolicy
10358 10359 10360 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10358 def return_policy @return_policy end |
#return_policy_id ⇒ String
The return policy ID. Set this only if the method is delete
or get
.
Corresponds to the JSON property returnPolicyId
10363 10364 10365 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10363 def return_policy_id @return_policy_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10370 10371 10372 10373 10374 10375 10376 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10370 def update!(**args) @batch_id = args[:batch_id] if args.key?(:batch_id) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) @method_prop = args[:method_prop] if args.key?(:method_prop) @return_policy = args[:return_policy] if args.key?(:return_policy) @return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id) end |