Class: Google::Apis::ContentV2::OrdersRejectReturnLineItemResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrdersRejectReturnLineItemResponse

Returns a new instance of OrdersRejectReturnLineItemResponse.



7056
7057
7058
# File 'lib/google/apis/content_v2/classes.rb', line 7056

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)


7048
7049
7050
# File 'lib/google/apis/content_v2/classes.rb', line 7048

def execution_status
  @execution_status
end

#kindString

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

Returns:

  • (String)


7054
7055
7056
# File 'lib/google/apis/content_v2/classes.rb', line 7054

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7061
7062
7063
7064
# File 'lib/google/apis/content_v2/classes.rb', line 7061

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