Class: Stripe::V1Services

Inherits:
StripeService show all
Defined in:
lib/stripe/services/v1_services.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

Constructor Details

#initialize(requestor) ⇒ V1Services

Returns a new instance of V1Services.



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
# File 'lib/stripe/services/v1_services.rb', line 13

def initialize(requestor)
  super(requestor)
  # v1 services: The beginning of the section generated from our OpenAPI spec
  @accounts = Stripe::AccountService.new(@requestor)
  @account_links = Stripe::AccountLinkService.new(@requestor)
  @account_sessions = Stripe::AccountSessionService.new(@requestor)
  @apple_pay_domains = Stripe::ApplePayDomainService.new(@requestor)
  @application_fees = Stripe::ApplicationFeeService.new(@requestor)
  @apps = Stripe::AppsService.new(@requestor)
  @balance = Stripe::BalanceService.new(@requestor)
  @balance_transactions = Stripe::BalanceTransactionService.new(@requestor)
  @billing = Stripe::BillingService.new(@requestor)
  @billing_portal = Stripe::BillingPortalService.new(@requestor)
  @charges = Stripe::ChargeService.new(@requestor)
  @checkout = Stripe::CheckoutService.new(@requestor)
  @climate = Stripe::ClimateService.new(@requestor)
  @confirmation_tokens = Stripe::ConfirmationTokenService.new(@requestor)
  @test_helpers = Stripe::TestHelpersService.new(@requestor)
  @country_specs = Stripe::CountrySpecService.new(@requestor)
  @coupons = Stripe::CouponService.new(@requestor)
  @credit_notes = Stripe::CreditNoteService.new(@requestor)
  @customers = Stripe::CustomerService.new(@requestor)
  @customer_sessions = Stripe::CustomerSessionService.new(@requestor)
  @disputes = Stripe::DisputeService.new(@requestor)
  @entitlements = Stripe::EntitlementsService.new(@requestor)
  @ephemeral_keys = Stripe::EphemeralKeyService.new(@requestor)
  @events = Stripe::EventService.new(@requestor)
  @exchange_rates = Stripe::ExchangeRateService.new(@requestor)
  @files = Stripe::FileService.new(@requestor)
  @file_links = Stripe::FileLinkService.new(@requestor)
  @financial_connections = Stripe::FinancialConnectionsService.new(@requestor)
  @forwarding = Stripe::ForwardingService.new(@requestor)
  @identity = Stripe::IdentityService.new(@requestor)
  @invoices = Stripe::InvoiceService.new(@requestor)
  @invoice_rendering_templates = Stripe::InvoiceRenderingTemplateService.new(@requestor)
  @invoice_items = Stripe::InvoiceItemService.new(@requestor)
  @issuing = Stripe::IssuingService.new(@requestor)
  @mandates = Stripe::MandateService.new(@requestor)
  @payment_intents = Stripe::PaymentIntentService.new(@requestor)
  @payment_links = Stripe::PaymentLinkService.new(@requestor)
  @payment_methods = Stripe::PaymentMethodService.new(@requestor)
  @payment_method_configurations = Stripe::PaymentMethodConfigurationService.new(@requestor)
  @payment_method_domains = Stripe::PaymentMethodDomainService.new(@requestor)
  @payouts = Stripe::PayoutService.new(@requestor)
  @plans = Stripe::PlanService.new(@requestor)
  @prices = Stripe::PriceService.new(@requestor)
  @products = Stripe::ProductService.new(@requestor)
  @promotion_codes = Stripe::PromotionCodeService.new(@requestor)
  @quotes = Stripe::QuoteService.new(@requestor)
  @radar = Stripe::RadarService.new(@requestor)
  @refunds = Stripe::RefundService.new(@requestor)
  @reporting = Stripe::ReportingService.new(@requestor)
  @reviews = Stripe::ReviewService.new(@requestor)
  @sigma = Stripe::SigmaService.new(@requestor)
  @setup_attempts = Stripe::SetupAttemptService.new(@requestor)
  @setup_intents = Stripe::SetupIntentService.new(@requestor)
  @shipping_rates = Stripe::ShippingRateService.new(@requestor)
  @sources = Stripe::SourceService.new(@requestor)
  @subscriptions = Stripe::SubscriptionService.new(@requestor)
  @subscription_items = Stripe::SubscriptionItemService.new(@requestor)
  @subscription_schedules = Stripe::SubscriptionScheduleService.new(@requestor)
  @tax = Stripe::TaxService.new(@requestor)
  @tax_codes = Stripe::TaxCodeService.new(@requestor)
  @tax_ids = Stripe::TaxIdService.new(@requestor)
  @tax_rates = Stripe::TaxRateService.new(@requestor)
  @terminal = Stripe::TerminalService.new(@requestor)
  @tokens = Stripe::TokenService.new(@requestor)
  @topups = Stripe::TopupService.new(@requestor)
  @transfers = Stripe::TransferService.new(@requestor)
  @treasury = Stripe::TreasuryService.new(@requestor)
  @webhook_endpoints = Stripe::WebhookEndpointService.new(@requestor)
  # v1 services: The end of the section generated from our OpenAPI spec

  @oauth = OAuthService.new(@requestor)
end

Instance Attribute Details

Returns the value of attribute account_links.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def 
  @account_links
end

#account_sessionsObject (readonly)

Returns the value of attribute account_sessions.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def 
  @account_sessions
end

#accountsObject (readonly)

v1 accessors: The beginning of the section generated from our OpenAPI spec



6
7
8
# File 'lib/stripe/services/v1_services.rb', line 6

def accounts
  @accounts
end

#apple_pay_domainsObject (readonly)

Returns the value of attribute apple_pay_domains.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def apple_pay_domains
  @apple_pay_domains
end

#application_feesObject (readonly)

Returns the value of attribute application_fees.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def application_fees
  @application_fees
end

#appsObject (readonly)

Returns the value of attribute apps.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def apps
  @apps
end

#balanceObject (readonly)

Returns the value of attribute balance.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def balance
  @balance
end

#balance_transactionsObject (readonly)

Returns the value of attribute balance_transactions.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def balance_transactions
  @balance_transactions
end

#billingObject (readonly)

Returns the value of attribute billing.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def billing
  @billing
end

#billing_portalObject (readonly)

Returns the value of attribute billing_portal.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def billing_portal
  @billing_portal
end

#chargesObject (readonly)

Returns the value of attribute charges.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def charges
  @charges
end

#checkoutObject (readonly)

Returns the value of attribute checkout.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def checkout
  @checkout
end

#climateObject (readonly)

Returns the value of attribute climate.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def climate
  @climate
end

#confirmation_tokensObject (readonly)

Returns the value of attribute confirmation_tokens.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def confirmation_tokens
  @confirmation_tokens
end

#country_specsObject (readonly)

Returns the value of attribute country_specs.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def country_specs
  @country_specs
end

#couponsObject (readonly)

Returns the value of attribute coupons.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def coupons
  @coupons
end

#credit_notesObject (readonly)

Returns the value of attribute credit_notes.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def credit_notes
  @credit_notes
end

#customer_sessionsObject (readonly)

Returns the value of attribute customer_sessions.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def customer_sessions
  @customer_sessions
end

#customersObject (readonly)

Returns the value of attribute customers.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def customers
  @customers
end

#disputesObject (readonly)

Returns the value of attribute disputes.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def disputes
  @disputes
end

#entitlementsObject (readonly)

Returns the value of attribute entitlements.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def entitlements
  @entitlements
end

#ephemeral_keysObject (readonly)

Returns the value of attribute ephemeral_keys.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def ephemeral_keys
  @ephemeral_keys
end

#eventsObject (readonly)

Returns the value of attribute events.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def events
  @events
end

#exchange_ratesObject (readonly)

Returns the value of attribute exchange_rates.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def exchange_rates
  @exchange_rates
end

Returns the value of attribute file_links.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def file_links
  @file_links
end

#filesObject (readonly)

Returns the value of attribute files.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def files
  @files
end

#financial_connectionsObject (readonly)

Returns the value of attribute financial_connections.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def financial_connections
  @financial_connections
end

#forwardingObject (readonly)

Returns the value of attribute forwarding.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def forwarding
  @forwarding
end

#identityObject (readonly)

Returns the value of attribute identity.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def identity
  @identity
end

#invoice_itemsObject (readonly)

Returns the value of attribute invoice_items.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def invoice_items
  @invoice_items
end

#invoice_rendering_templatesObject (readonly)

Returns the value of attribute invoice_rendering_templates.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def invoice_rendering_templates
  @invoice_rendering_templates
end

#invoicesObject (readonly)

Returns the value of attribute invoices.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def invoices
  @invoices
end

#issuingObject (readonly)

Returns the value of attribute issuing.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def issuing
  @issuing
end

#mandatesObject (readonly)

Returns the value of attribute mandates.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def mandates
  @mandates
end

#oauthObject (readonly)

OAuthService is manually maintained, as it has special behaviors



11
12
13
# File 'lib/stripe/services/v1_services.rb', line 11

def oauth
  @oauth
end

#payment_intentsObject (readonly)

Returns the value of attribute payment_intents.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def payment_intents
  @payment_intents
end

Returns the value of attribute payment_links.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def payment_links
  @payment_links
end

#payment_method_configurationsObject (readonly)

Returns the value of attribute payment_method_configurations.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def payment_method_configurations
  @payment_method_configurations
end

#payment_method_domainsObject (readonly)

Returns the value of attribute payment_method_domains.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def payment_method_domains
  @payment_method_domains
end

#payment_methodsObject (readonly)

Returns the value of attribute payment_methods.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def payment_methods
  @payment_methods
end

#payoutsObject (readonly)

Returns the value of attribute payouts.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def payouts
  @payouts
end

#plansObject (readonly)

Returns the value of attribute plans.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def plans
  @plans
end

#pricesObject (readonly)

Returns the value of attribute prices.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def prices
  @prices
end

#productsObject (readonly)

Returns the value of attribute products.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def products
  @products
end

#promotion_codesObject (readonly)

Returns the value of attribute promotion_codes.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def promotion_codes
  @promotion_codes
end

#quotesObject (readonly)

Returns the value of attribute quotes.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def quotes
  @quotes
end

#radarObject (readonly)

Returns the value of attribute radar.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def radar
  @radar
end

#refundsObject (readonly)

Returns the value of attribute refunds.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def refunds
  @refunds
end

#reportingObject (readonly)

Returns the value of attribute reporting.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def reporting
  @reporting
end

#reviewsObject (readonly)

Returns the value of attribute reviews.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def reviews
  @reviews
end

#setup_attemptsObject (readonly)

Returns the value of attribute setup_attempts.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def setup_attempts
  @setup_attempts
end

#setup_intentsObject (readonly)

Returns the value of attribute setup_intents.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def setup_intents
  @setup_intents
end

#shipping_ratesObject (readonly)

Returns the value of attribute shipping_rates.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def shipping_rates
  @shipping_rates
end

#sigmaObject (readonly)

Returns the value of attribute sigma.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def sigma
  @sigma
end

#sourcesObject (readonly)

Returns the value of attribute sources.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def sources
  @sources
end

#subscription_itemsObject (readonly)

Returns the value of attribute subscription_items.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def subscription_items
  @subscription_items
end

#subscription_schedulesObject (readonly)

Returns the value of attribute subscription_schedules.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def subscription_schedules
  @subscription_schedules
end

#subscriptionsObject (readonly)

Returns the value of attribute subscriptions.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def subscriptions
  @subscriptions
end

#taxObject (readonly)

Returns the value of attribute tax.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def tax
  @tax
end

#tax_codesObject (readonly)

Returns the value of attribute tax_codes.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def tax_codes
  @tax_codes
end

#tax_idsObject (readonly)

Returns the value of attribute tax_ids.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def tax_ids
  @tax_ids
end

#tax_ratesObject (readonly)

Returns the value of attribute tax_rates.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def tax_rates
  @tax_rates
end

#terminalObject (readonly)

Returns the value of attribute terminal.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def terminal
  @terminal
end

#test_helpersObject (readonly)

Returns the value of attribute test_helpers.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def test_helpers
  @test_helpers
end

#tokensObject (readonly)

Returns the value of attribute tokens.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def tokens
  @tokens
end

#topupsObject (readonly)

Returns the value of attribute topups.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def topups
  @topups
end

#transfersObject (readonly)

Returns the value of attribute transfers.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def transfers
  @transfers
end

#treasuryObject (readonly)

Returns the value of attribute treasury.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def treasury
  @treasury
end

#webhook_endpointsObject (readonly)

Returns the value of attribute webhook_endpoints.



7
8
9
# File 'lib/stripe/services/v1_services.rb', line 7

def webhook_endpoints
  @webhook_endpoints
end