Class: Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrderreturnsCreateOrderReturnResponse

Returns a new instance of OrderreturnsCreateOrderReturnResponse.



6564
6565
6566
# File 'generated/google/apis/content_v2_1/classes.rb', line 6564

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#execution_statusString

The status of the execution. Acceptable values are: - "duplicate" - " executed" Corresponds to the JSON property executionStatus

Returns:

  • (String)


6550
6551
6552
# File 'generated/google/apis/content_v2_1/classes.rb', line 6550

def execution_status
  @execution_status
end

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# orderreturnsCreateOrderReturnResponse". Corresponds to the JSON property kind

Returns:

  • (String)


6556
6557
6558
# File 'generated/google/apis/content_v2_1/classes.rb', line 6556

def kind
  @kind
end

#order_returnGoogle::Apis::ContentV2_1::MerchantOrderReturn

Order return. Production access (all methods) requires the order manager role. Sandbox access does not. Corresponds to the JSON property orderReturn



6562
6563
6564
# File 'generated/google/apis/content_v2_1/classes.rb', line 6562

def order_return
  @order_return
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6569
6570
6571
6572
6573
# File 'generated/google/apis/content_v2_1/classes.rb', line 6569

def update!(**args)
  @execution_status = args[:execution_status] if args.key?(:execution_status)
  @kind = args[:kind] if args.key?(:kind)
  @order_return = args[:order_return] if args.key?(:order_return)
end