lib/stripe/util.rb in stripe-1.42.0 vs lib/stripe/util.rb in stripe-1.43.0
- old
+ new
@@ -22,10 +22,11 @@
# data structures
'list' => ListObject,
# business objects
'account' => Account,
+ 'alipay_account' => AlipayAccount,
'application_fee' => ApplicationFee,
'balance' => Balance,
'balance_transaction' => BalanceTransaction,
'bank_account' => BankAccount,
'card' => Card,
@@ -49,9 +50,10 @@
'bitcoin_transaction' => BitcoinTransaction,
'dispute' => Dispute,
'product' => Product,
'sku' => SKU,
'order' => Order,
+ 'order_return' => OrderReturn,
}
end
def self.convert_to_stripe_object(resp, opts)
case resp