Module: Stripe::ObjectTypes

Defined in:
lib/stripe/object_types.rb

Class Method Summary collapse

Class Method Details

.object_names_to_classesObject



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# File 'lib/stripe/object_types.rb', line 8

def self.object_names_to_classes
  {
    # data structures
    ListObject.object_name => ListObject,
    SearchResultObject.object_name => SearchResultObject,
    File.object_name_alt => File,

    # object classes: The beginning of the section generated from our OpenAPI spec
    Account.object_name => Account,
    AccountLink.object_name => AccountLink,
    AccountSession.object_name => AccountSession,
    ApplePayDomain.object_name => ApplePayDomain,
    ApplicationFee.object_name => ApplicationFee,
    ApplicationFeeRefund.object_name => ApplicationFeeRefund,
    Apps::Secret.object_name => Apps::Secret,
    Balance.object_name => Balance,
    BalanceTransaction.object_name => BalanceTransaction,
    BankAccount.object_name => BankAccount,
    Billing::Meter.object_name => Billing::Meter,
    Billing::MeterEvent.object_name => Billing::MeterEvent,
    Billing::MeterEventAdjustment.object_name => Billing::MeterEventAdjustment,
    Billing::MeterEventSummary.object_name => Billing::MeterEventSummary,
    BillingPortal::Configuration.object_name => BillingPortal::Configuration,
    BillingPortal::Session.object_name => BillingPortal::Session,
    Capability.object_name => Capability,
    Card.object_name => Card,
    CashBalance.object_name => CashBalance,
    Charge.object_name => Charge,
    Checkout::Session.object_name => Checkout::Session,
    Climate::Order.object_name => Climate::Order,
    Climate::Product.object_name => Climate::Product,
    Climate::Supplier.object_name => Climate::Supplier,
    ConfirmationToken.object_name => ConfirmationToken,
    CountrySpec.object_name => CountrySpec,
    Coupon.object_name => Coupon,
    CreditNote.object_name => CreditNote,
    CreditNoteLineItem.object_name => CreditNoteLineItem,
    Customer.object_name => Customer,
    CustomerBalanceTransaction.object_name => CustomerBalanceTransaction,
    CustomerCashBalanceTransaction.object_name => CustomerCashBalanceTransaction,
    CustomerSession.object_name => CustomerSession,
    Discount.object_name => Discount,
    Dispute.object_name => Dispute,
    Entitlements::ActiveEntitlement.object_name => Entitlements::ActiveEntitlement,
    Entitlements::Feature.object_name => Entitlements::Feature,
    EphemeralKey.object_name => EphemeralKey,
    Event.object_name => Event,
    ExchangeRate.object_name => ExchangeRate,
    File.object_name => File,
    FileLink.object_name => FileLink,
    FinancialConnections::Account.object_name => FinancialConnections::Account,
    FinancialConnections::AccountOwner.object_name => FinancialConnections::AccountOwner,
    FinancialConnections::AccountOwnership.object_name => FinancialConnections::AccountOwnership,
    FinancialConnections::Session.object_name => FinancialConnections::Session,
    FinancialConnections::Transaction.object_name => FinancialConnections::Transaction,
    Forwarding::Request.object_name => Forwarding::Request,
    FundingInstructions.object_name => FundingInstructions,
    Identity::VerificationReport.object_name => Identity::VerificationReport,
    Identity::VerificationSession.object_name => Identity::VerificationSession,
    Invoice.object_name => Invoice,
    InvoiceItem.object_name => InvoiceItem,
    InvoiceLineItem.object_name => InvoiceLineItem,
    Issuing::Authorization.object_name => Issuing::Authorization,
    Issuing::Card.object_name => Issuing::Card,
    Issuing::Cardholder.object_name => Issuing::Cardholder,
    Issuing::Dispute.object_name => Issuing::Dispute,
    Issuing::PersonalizationDesign.object_name => Issuing::PersonalizationDesign,
    Issuing::PhysicalBundle.object_name => Issuing::PhysicalBundle,
    Issuing::Token.object_name => Issuing::Token,
    Issuing::Transaction.object_name => Issuing::Transaction,
    LineItem.object_name => LineItem,
    LoginLink.object_name => LoginLink,
    Mandate.object_name => Mandate,
    PaymentIntent.object_name => PaymentIntent,
    PaymentLink.object_name => PaymentLink,
    PaymentMethod.object_name => PaymentMethod,
    PaymentMethodConfiguration.object_name => PaymentMethodConfiguration,
    PaymentMethodDomain.object_name => PaymentMethodDomain,
    Payout.object_name => Payout,
    Person.object_name => Person,
    Plan.object_name => Plan,
    Price.object_name => Price,
    Product.object_name => Product,
    ProductFeature.object_name => ProductFeature,
    PromotionCode.object_name => PromotionCode,
    Quote.object_name => Quote,
    Radar::EarlyFraudWarning.object_name => Radar::EarlyFraudWarning,
    Radar::ValueList.object_name => Radar::ValueList,
    Radar::ValueListItem.object_name => Radar::ValueListItem,
    Refund.object_name => Refund,
    Reporting::ReportRun.object_name => Reporting::ReportRun,
    Reporting::ReportType.object_name => Reporting::ReportType,
    Reversal.object_name => Reversal,
    Review.object_name => Review,
    SetupAttempt.object_name => SetupAttempt,
    SetupIntent.object_name => SetupIntent,
    ShippingRate.object_name => ShippingRate,
    Sigma::ScheduledQueryRun.object_name => Sigma::ScheduledQueryRun,
    Source.object_name => Source,
    SourceTransaction.object_name => SourceTransaction,
    Subscription.object_name => Subscription,
    SubscriptionItem.object_name => SubscriptionItem,
    SubscriptionSchedule.object_name => SubscriptionSchedule,
    Tax::Calculation.object_name => Tax::Calculation,
    Tax::CalculationLineItem.object_name => Tax::CalculationLineItem,
    Tax::Registration.object_name => Tax::Registration,
    Tax::Settings.object_name => Tax::Settings,
    Tax::Transaction.object_name => Tax::Transaction,
    Tax::TransactionLineItem.object_name => Tax::TransactionLineItem,
    TaxCode.object_name => TaxCode,
    TaxId.object_name => TaxId,
    TaxRate.object_name => TaxRate,
    Terminal::Configuration.object_name => Terminal::Configuration,
    Terminal::ConnectionToken.object_name => Terminal::ConnectionToken,
    Terminal::Location.object_name => Terminal::Location,
    Terminal::Reader.object_name => Terminal::Reader,
    TestHelpers::TestClock.object_name => TestHelpers::TestClock,
    Token.object_name => Token,
    Topup.object_name => Topup,
    Transfer.object_name => Transfer,
    Treasury::CreditReversal.object_name => Treasury::CreditReversal,
    Treasury::DebitReversal.object_name => Treasury::DebitReversal,
    Treasury::FinancialAccount.object_name => Treasury::FinancialAccount,
    Treasury::FinancialAccountFeatures.object_name => Treasury::FinancialAccountFeatures,
    Treasury::InboundTransfer.object_name => Treasury::InboundTransfer,
    Treasury::OutboundPayment.object_name => Treasury::OutboundPayment,
    Treasury::OutboundTransfer.object_name => Treasury::OutboundTransfer,
    Treasury::ReceivedCredit.object_name => Treasury::ReceivedCredit,
    Treasury::ReceivedDebit.object_name => Treasury::ReceivedDebit,
    Treasury::Transaction.object_name => Treasury::Transaction,
    Treasury::TransactionEntry.object_name => Treasury::TransactionEntry,
    UsageRecord.object_name => UsageRecord,
    UsageRecordSummary.object_name => UsageRecordSummary,
    WebhookEndpoint.object_name => WebhookEndpoint,
    # object classes: The end of the section generated from our OpenAPI spec
  }
end