Class: Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequestEntry
- 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
Corresponds to the JSON property
method
. -
#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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReturnaddressCustomBatchRequestEntry
Returns a new instance of ReturnaddressCustomBatchRequestEntry.
8923 8924 8925 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8923 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
8901 8902 8903 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8901 def batch_id @batch_id end |
#merchant_id ⇒ Fixnum
The Merchant Center account ID.
Corresponds to the JSON property merchantId
8906 8907 8908 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8906 def merchant_id @merchant_id end |
#method_prop ⇒ String
Corresponds to the JSON property method
8911 8912 8913 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8911 def method_prop @method_prop end |
#return_address ⇒ Google::Apis::ContentV2_1::ReturnAddress
Return address resource.
Corresponds to the JSON property returnAddress
8916 8917 8918 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8916 def return_address @return_address end |
#return_address_id ⇒ String
The return address ID. Set this only if the method is delete or get.
Corresponds to the JSON property returnAddressId
8921 8922 8923 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8921 def return_address_id @return_address_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8928 8929 8930 8931 8932 8933 8934 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 8928 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 |