lib/stripe/util.rb in stripe-3.27.0 vs lib/stripe/util.rb in stripe-3.28.0
- old
+ new
@@ -43,66 +43,69 @@
@object_classes ||= {
# data structures
ListObject::OBJECT_NAME => ListObject,
# business objects
- Account::OBJECT_NAME => Account,
- AlipayAccount::OBJECT_NAME => AlipayAccount,
- ApplePayDomain::OBJECT_NAME => ApplePayDomain,
- ApplicationFee::OBJECT_NAME => ApplicationFee,
- ApplicationFeeRefund::OBJECT_NAME => ApplicationFeeRefund,
- Balance::OBJECT_NAME => Balance,
- BalanceTransaction::OBJECT_NAME => BalanceTransaction,
- BankAccount::OBJECT_NAME => BankAccount,
- BitcoinReceiver::OBJECT_NAME => BitcoinReceiver,
- BitcoinTransaction::OBJECT_NAME => BitcoinTransaction,
- Card::OBJECT_NAME => Card,
- Charge::OBJECT_NAME => Charge,
- CountrySpec::OBJECT_NAME => CountrySpec,
- Coupon::OBJECT_NAME => Coupon,
- Customer::OBJECT_NAME => Customer,
- Dispute::OBJECT_NAME => Dispute,
- EphemeralKey::OBJECT_NAME => EphemeralKey,
- Event::OBJECT_NAME => Event,
- ExchangeRate::OBJECT_NAME => ExchangeRate,
- File::OBJECT_NAME => File,
- File::OBJECT_NAME_ALT => File,
- FileLink::OBJECT_NAME => FileLink,
- Invoice::OBJECT_NAME => Invoice,
- InvoiceItem::OBJECT_NAME => InvoiceItem,
- InvoiceLineItem::OBJECT_NAME => InvoiceLineItem,
- IssuerFraudRecord::OBJECT_NAME => IssuerFraudRecord,
- Issuing::Authorization::OBJECT_NAME => Issuing::Authorization,
- Issuing::Card::OBJECT_NAME => Issuing::Card,
- Issuing::CardDetails::OBJECT_NAME => Issuing::CardDetails,
- Issuing::Cardholder::OBJECT_NAME => Issuing::Cardholder,
- Issuing::Dispute::OBJECT_NAME => Issuing::Dispute,
- Issuing::Transaction::OBJECT_NAME => Issuing::Transaction,
- LoginLink::OBJECT_NAME => LoginLink,
- Order::OBJECT_NAME => Order,
- OrderReturn::OBJECT_NAME => OrderReturn,
- PaymentIntent::OBJECT_NAME => PaymentIntent,
- Payout::OBJECT_NAME => Payout,
- Plan::OBJECT_NAME => Plan,
- Product::OBJECT_NAME => Product,
- Recipient::OBJECT_NAME => Recipient,
- RecipientTransfer::OBJECT_NAME => RecipientTransfer,
- Refund::OBJECT_NAME => Refund,
- Reporting::ReportRun::OBJECT_NAME => Reporting::ReportRun,
- Reporting::ReportType::OBJECT_NAME => Reporting::ReportType,
- Reversal::OBJECT_NAME => Reversal,
- SKU::OBJECT_NAME => SKU,
- Sigma::ScheduledQueryRun::OBJECT_NAME => Sigma::ScheduledQueryRun,
- Source::OBJECT_NAME => Source,
- SourceTransaction::OBJECT_NAME => SourceTransaction,
- Subscription::OBJECT_NAME => Subscription,
- SubscriptionItem::OBJECT_NAME => SubscriptionItem,
- ThreeDSecure::OBJECT_NAME => ThreeDSecure,
- Token::OBJECT_NAME => Token,
- Topup::OBJECT_NAME => Topup,
- Transfer::OBJECT_NAME => Transfer,
- UsageRecord::OBJECT_NAME => UsageRecord,
- UsageRecordSummary::OBJECT_NAME => UsageRecordSummary,
+ Account::OBJECT_NAME => Account,
+ AlipayAccount::OBJECT_NAME => AlipayAccount,
+ ApplePayDomain::OBJECT_NAME => ApplePayDomain,
+ ApplicationFee::OBJECT_NAME => ApplicationFee,
+ ApplicationFeeRefund::OBJECT_NAME => ApplicationFeeRefund,
+ Balance::OBJECT_NAME => Balance,
+ BalanceTransaction::OBJECT_NAME => BalanceTransaction,
+ BankAccount::OBJECT_NAME => BankAccount,
+ BitcoinReceiver::OBJECT_NAME => BitcoinReceiver,
+ BitcoinTransaction::OBJECT_NAME => BitcoinTransaction,
+ Card::OBJECT_NAME => Card,
+ Charge::OBJECT_NAME => Charge,
+ CountrySpec::OBJECT_NAME => CountrySpec,
+ Coupon::OBJECT_NAME => Coupon,
+ Customer::OBJECT_NAME => Customer,
+ Dispute::OBJECT_NAME => Dispute,
+ EphemeralKey::OBJECT_NAME => EphemeralKey,
+ Event::OBJECT_NAME => Event,
+ ExchangeRate::OBJECT_NAME => ExchangeRate,
+ File::OBJECT_NAME => File,
+ File::OBJECT_NAME_ALT => File,
+ FileLink::OBJECT_NAME => FileLink,
+ Invoice::OBJECT_NAME => Invoice,
+ InvoiceItem::OBJECT_NAME => InvoiceItem,
+ InvoiceLineItem::OBJECT_NAME => InvoiceLineItem,
+ IssuerFraudRecord::OBJECT_NAME => IssuerFraudRecord,
+ Issuing::Authorization::OBJECT_NAME => Issuing::Authorization,
+ Issuing::Card::OBJECT_NAME => Issuing::Card,
+ Issuing::CardDetails::OBJECT_NAME => Issuing::CardDetails,
+ Issuing::Cardholder::OBJECT_NAME => Issuing::Cardholder,
+ Issuing::Dispute::OBJECT_NAME => Issuing::Dispute,
+ Issuing::Transaction::OBJECT_NAME => Issuing::Transaction,
+ LoginLink::OBJECT_NAME => LoginLink,
+ Order::OBJECT_NAME => Order,
+ OrderReturn::OBJECT_NAME => OrderReturn,
+ PaymentIntent::OBJECT_NAME => PaymentIntent,
+ Payout::OBJECT_NAME => Payout,
+ Plan::OBJECT_NAME => Plan,
+ Product::OBJECT_NAME => Product,
+ Recipient::OBJECT_NAME => Recipient,
+ RecipientTransfer::OBJECT_NAME => RecipientTransfer,
+ Refund::OBJECT_NAME => Refund,
+ Reporting::ReportRun::OBJECT_NAME => Reporting::ReportRun,
+ Reporting::ReportType::OBJECT_NAME => Reporting::ReportType,
+ Reversal::OBJECT_NAME => Reversal,
+ SKU::OBJECT_NAME => SKU,
+ Sigma::ScheduledQueryRun::OBJECT_NAME => Sigma::ScheduledQueryRun,
+ Source::OBJECT_NAME => Source,
+ SourceTransaction::OBJECT_NAME => SourceTransaction,
+ Subscription::OBJECT_NAME => Subscription,
+ SubscriptionItem::OBJECT_NAME => SubscriptionItem,
+ Terminal::ConnectionToken::OBJECT_NAME => Terminal::ConnectionToken,
+ Terminal::Location::OBJECT_NAME => Terminal::Location,
+ Terminal::Reader::OBJECT_NAME => Terminal::Reader,
+ ThreeDSecure::OBJECT_NAME => ThreeDSecure,
+ Token::OBJECT_NAME => Token,
+ Topup::OBJECT_NAME => Topup,
+ Transfer::OBJECT_NAME => Transfer,
+ UsageRecord::OBJECT_NAME => UsageRecord,
+ UsageRecordSummary::OBJECT_NAME => UsageRecordSummary,
}
end
# Converts a hash of fields or an array of hashes into a +StripeObject+ or
# array of +StripeObject+s. These new objects will be created as a concrete