Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 2.11 KB

File metadata and controls

42 lines (36 loc) · 2.11 KB

UltracartClient::OrderRefundableResponse

Properties

Name Type Description Notes
error Error [optional]
item_level_refund_reason_required Boolean True if the item level refund reason is required [optional]
item_level_refund_reasons Array<OrderReason> Reason codes available at the item level. [optional]
item_level_return_reasons Array<OrderReason> Return codes available at the item level. [optional]
manual_because_multiple_charges Boolean If true, this refund will have to be manually done because of additional charges with the virtual terminal were made [optional]
metadata ResponseMetadata [optional]
order_level_refund_reason_required Boolean True if the order level refund reason is required [optional]
order_level_refund_reasons Array<OrderReason> Reason codes available at the order level. [optional]
order_level_reject_reason_required Boolean True if the order level reject reason is required [optional]
order_level_reject_reasons Array<OrderReason> Reject codes available at the order level. [optional]
refundable Boolean Whether the order is refundable or not. Null should be interpreted as false. [optional]
success Boolean Indicates if API call was successful [optional]
warning Warning [optional]

Example

require 'ultracart_api'

instance = UltracartClient::OrderRefundableResponse.new(
  error: null,
  item_level_refund_reason_required: null,
  item_level_refund_reasons: null,
  item_level_return_reasons: null,
  manual_because_multiple_charges: null,
  metadata: null,
  order_level_refund_reason_required: null,
  order_level_refund_reasons: null,
  order_level_reject_reason_required: null,
  order_level_reject_reasons: null,
  refundable: null,
  success: null,
  warning: null
)