Class: Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/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_address ⇒ Google::Apis::ContentV2_1::ReturnAddress
Return address resource.
-
#return_address_id ⇒ String
The return address ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReturnaddressCustomBatchRequestEntry
constructor
A new instance of ReturnaddressCustomBatchRequestEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReturnaddressCustomBatchRequestEntry
Returns a new instance of ReturnaddressCustomBatchRequestEntry.
12808 12809 12810 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12808 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
12784 12785 12786 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12784 def batch_id @batch_id end |
#merchant_id ⇒ Fixnum
The Merchant Center account ID.
Corresponds to the JSON property merchantId
12789 12790 12791 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12789 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 property method
12795 12796 12797 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12795 def method_prop @method_prop end |
#return_address ⇒ Google::Apis::ContentV2_1::ReturnAddress
Return address resource.
Corresponds to the JSON property returnAddress
12800 12801 12802 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12800 def return_address @return_address end |
#return_address_id ⇒ String
The return address ID. This should be set only if the method is delete
or
get
.
Corresponds to the JSON property returnAddressId
12806 12807 12808 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12806 def return_address_id @return_address_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12813 12814 12815 12816 12817 12818 12819 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12813 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_address = args[:return_address] if args.key?(:return_address) @return_address_id = args[:return_address_id] if args.key?(:return_address_id) end |