Class: Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest
 
- 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
- 
  
    
      #merchant_order_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The merchant order id to be assigned to the order. 
- 
  
    
      #operation_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the operation. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OrdersUpdateMerchantOrderIdRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of OrdersUpdateMerchantOrderIdRequest. 
- 
  
    
      #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) ⇒ OrdersUpdateMerchantOrderIdRequest
Returns a new instance of OrdersUpdateMerchantOrderIdRequest
| 5897 5898 5899 | # File 'generated/google/apis/content_v2/classes.rb', line 5897 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#merchant_order_id ⇒ String
The merchant order id to be assigned to the order. Must be unique per merchant.
Corresponds to the JSON property merchantOrderId
| 5890 5891 5892 | # File 'generated/google/apis/content_v2/classes.rb', line 5890 def merchant_order_id @merchant_order_id end | 
#operation_id ⇒ String
The ID of the operation. Unique across all operations for a given order.
Corresponds to the JSON property operationId
| 5895 5896 5897 | # File 'generated/google/apis/content_v2/classes.rb', line 5895 def operation_id @operation_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 5902 5903 5904 5905 | # File 'generated/google/apis/content_v2/classes.rb', line 5902 def update!(**args) @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id) @operation_id = args[:operation_id] if args.key?(:operation_id) end |