stripe 13.3.0.pre.beta.3 → 13.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +650 -1402
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/object_types.rb +0 -32
- data/lib/stripe/resources/account.rb +2 -232
- data/lib/stripe/resources/account_link.rb +0 -9
- data/lib/stripe/resources/account_session.rb +0 -103
- data/lib/stripe/resources/apple_pay_domain.rb +2 -20
- data/lib/stripe/resources/application_fee.rb +2 -36
- data/lib/stripe/resources/application_fee_refund.rb +0 -17
- data/lib/stripe/resources/apps/secret.rb +2 -24
- data/lib/stripe/resources/balance.rb +0 -59
- data/lib/stripe/resources/balance_transaction.rb +2 -36
- data/lib/stripe/resources/bank_account.rb +3 -61
- data/lib/stripe/resources/billing/alert.rb +2 -23
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -25
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -50
- data/lib/stripe/resources/billing/credit_grant.rb +2 -46
- data/lib/stripe/resources/billing/meter.rb +2 -44
- data/lib/stripe/resources/billing/meter_event.rb +0 -15
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -16
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -15
- data/lib/stripe/resources/billing_portal/configuration.rb +2 -72
- data/lib/stripe/resources/billing_portal/session.rb +0 -61
- data/lib/stripe/resources/capability.rb +0 -38
- data/lib/stripe/resources/card.rb +1 -77
- data/lib/stripe/resources/cash_balance.rb +0 -14
- data/lib/stripe/resources/charge.rb +2 -471
- data/lib/stripe/resources/checkout/session.rb +2 -498
- data/lib/stripe/resources/climate/order.rb +2 -57
- data/lib/stripe/resources/climate/product.rb +2 -26
- data/lib/stripe/resources/climate/supplier.rb +2 -20
- data/lib/stripe/resources/confirmation_token.rb +0 -297
- data/lib/stripe/resources/country_spec.rb +2 -29
- data/lib/stripe/resources/coupon.rb +2 -46
- data/lib/stripe/resources/credit_note.rb +2 -93
- data/lib/stripe/resources/credit_note_line_item.rb +0 -46
- data/lib/stripe/resources/customer.rb +2 -95
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -27
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -72
- data/lib/stripe/resources/customer_session.rb +0 -34
- data/lib/stripe/resources/discount.rb +0 -29
- data/lib/stripe/resources/dispute.rb +2 -98
- data/lib/stripe/resources/entitlements/active_entitlement.rb +2 -13
- data/lib/stripe/resources/entitlements/feature.rb +2 -17
- data/lib/stripe/resources/ephemeral_key.rb +0 -13
- data/lib/stripe/resources/event.rb +2 -46
- data/lib/stripe/resources/exchange_rate.rb +2 -9
- data/lib/stripe/resources/file.rb +2 -25
- data/lib/stripe/resources/file_link.rb +2 -21
- data/lib/stripe/resources/financial_connections/account.rb +2 -89
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -17
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -9
- data/lib/stripe/resources/financial_connections/session.rb +0 -49
- data/lib/stripe/resources/financial_connections/transaction.rb +2 -30
- data/lib/stripe/resources/forwarding/request.rb +2 -42
- data/lib/stripe/resources/funding_instructions.rb +0 -82
- data/lib/stripe/resources/identity/verification_report.rb +2 -94
- data/lib/stripe/resources/identity/verification_session.rb +2 -78
- data/lib/stripe/resources/invoice.rb +2 -420
- data/lib/stripe/resources/invoice_item.rb +2 -56
- data/lib/stripe/resources/invoice_line_item.rb +0 -83
- data/lib/stripe/resources/invoice_rendering_template.rb +2 -19
- data/lib/stripe/resources/issuing/authorization.rb +2 -131
- data/lib/stripe/resources/issuing/card.rb +2 -88
- data/lib/stripe/resources/issuing/cardholder.rb +2 -78
- data/lib/stripe/resources/issuing/dispute.rb +2 -67
- data/lib/stripe/resources/issuing/personalization_design.rb +2 -40
- data/lib/stripe/resources/issuing/physical_bundle.rb +2 -20
- data/lib/stripe/resources/issuing/token.rb +2 -48
- data/lib/stripe/resources/issuing/transaction.rb +2 -108
- data/lib/stripe/resources/line_item.rb +0 -50
- data/lib/stripe/resources/login_link.rb +0 -7
- data/lib/stripe/resources/mandate.rb +0 -78
- data/lib/stripe/resources/payment_intent.rb +2 -714
- data/lib/stripe/resources/payment_link.rb +2 -200
- data/lib/stripe/resources/payment_method.rb +2 -370
- data/lib/stripe/resources/payment_method_configuration.rb +2 -432
- data/lib/stripe/resources/payment_method_domain.rb +2 -59
- data/lib/stripe/resources/payout.rb +2 -58
- data/lib/stripe/resources/person.rb +0 -128
- data/lib/stripe/resources/plan.rb +2 -54
- data/lib/stripe/resources/price.rb +2 -79
- data/lib/stripe/resources/product.rb +2 -62
- data/lib/stripe/resources/product_feature.rb +0 -12
- data/lib/stripe/resources/promotion_code.rb +2 -37
- data/lib/stripe/resources/quote.rb +2 -358
- data/lib/stripe/resources/radar/early_fraud_warning.rb +2 -19
- data/lib/stripe/resources/radar/value_list.rb +2 -25
- data/lib/stripe/resources/radar/value_list_item.rb +2 -19
- data/lib/stripe/resources/refund.rb +2 -132
- data/lib/stripe/resources/reporting/report_run.rb +2 -31
- data/lib/stripe/resources/reporting/report_type.rb +2 -21
- data/lib/stripe/resources/reversal.rb +0 -21
- data/lib/stripe/resources/review.rb +2 -38
- data/lib/stripe/resources/setup_attempt.rb +2 -103
- data/lib/stripe/resources/setup_intent.rb +2 -160
- data/lib/stripe/resources/shipping_rate.rb +2 -44
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +2 -28
- data/lib/stripe/resources/source.rb +0 -197
- data/lib/stripe/resources/source_transaction.rb +0 -48
- data/lib/stripe/resources/subscription.rb +2 -216
- data/lib/stripe/resources/subscription_item.rb +2 -48
- data/lib/stripe/resources/subscription_schedule.rb +2 -175
- data/lib/stripe/resources/tax/calculation.rb +0 -72
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -33
- data/lib/stripe/resources/tax/registration.rb +2 -381
- data/lib/stripe/resources/tax/settings.rb +0 -33
- data/lib/stripe/resources/tax/transaction.rb +0 -68
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -30
- data/lib/stripe/resources/tax_code.rb +2 -11
- data/lib/stripe/resources/tax_id.rb +2 -32
- data/lib/stripe/resources/tax_rate.rb +2 -44
- data/lib/stripe/resources/terminal/configuration.rb +2 -109
- data/lib/stripe/resources/terminal/connection_token.rb +0 -7
- data/lib/stripe/resources/terminal/location.rb +2 -22
- data/lib/stripe/resources/terminal/reader.rb +2 -180
- data/lib/stripe/resources/test_helpers/test_clock.rb +2 -29
- data/lib/stripe/resources/token.rb +0 -29
- data/lib/stripe/resources/topup.rb +2 -35
- data/lib/stripe/resources/transfer.rb +2 -37
- data/lib/stripe/resources/treasury/credit_reversal.rb +2 -34
- data/lib/stripe/resources/treasury/debit_reversal.rb +2 -40
- data/lib/stripe/resources/treasury/financial_account.rb +2 -59
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -91
- data/lib/stripe/resources/treasury/inbound_transfer.rb +2 -68
- data/lib/stripe/resources/treasury/outbound_payment.rb +2 -87
- data/lib/stripe/resources/treasury/outbound_transfer.rb +2 -84
- data/lib/stripe/resources/treasury/received_credit.rb +2 -72
- data/lib/stripe/resources/treasury/received_debit.rb +2 -69
- data/lib/stripe/resources/treasury/transaction.rb +2 -44
- data/lib/stripe/resources/treasury/transaction_entry.rb +2 -36
- data/lib/stripe/resources/usage_record.rb +0 -13
- data/lib/stripe/resources/usage_record_summary.rb +0 -18
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -18
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -20
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -14
- data/lib/stripe/resources/v2/event.rb +0 -21
- data/lib/stripe/resources/v2/event_destination.rb +0 -49
- data/lib/stripe/resources/webhook_endpoint.rb +2 -34
- data/lib/stripe/resources.rb +0 -31
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/invoice_service.rb +1 -44
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/reader_service.rb +0 -33
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -8
- data/lib/stripe/services.rb +0 -25
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +3 -8
- data/lib/stripe/util.rb +2 -8
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -45
- data/stripe.gemspec +1 -2
- metadata +4 -62
- data/lib/stripe/request_signing_authenticator.rb +0 -79
- data/lib/stripe/resources/account_notice.rb +0 -60
- data/lib/stripe/resources/application.rb +0 -20
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -26
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -44
- data/lib/stripe/resources/capital/financing_offer.rb +0 -94
- data/lib/stripe/resources/capital/financing_summary.rb +0 -32
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -56
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -24
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -23
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -61
- data/lib/stripe/resources/gift_cards/card.rb +0 -96
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -132
- data/lib/stripe/resources/invoice_payment.rb +0 -46
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -145
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -49
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -43
- data/lib/stripe/resources/issuing/settlement.rb +0 -49
- data/lib/stripe/resources/margin.rb +0 -56
- data/lib/stripe/resources/order.rb +0 -322
- data/lib/stripe/resources/payment_attempt_record.rb +0 -100
- data/lib/stripe/resources/payment_record.rb +0 -188
- data/lib/stripe/resources/quote_line.rb +0 -136
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -374
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -170
- data/lib/stripe/resources/reserve_transaction.rb +0 -22
- data/lib/stripe/resources/source_mandate_notification.rb +0 -59
- data/lib/stripe/resources/tax/association.rb +0 -60
- data/lib/stripe/resources/tax/form.rb +0 -124
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -22
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -30
- data/lib/stripe/resources/v2/amount.rb +0 -9
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/gift_cards/card_service.rb +0 -63
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -74
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/invoice_payment_service.rb +0 -28
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -28
- data/lib/stripe/services/payment_record_service.rb +0 -78
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/tax/association_service.rb +0 -19
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
@@ -17,118 +17,12 @@ module Stripe
|
|
17
17
|
"issuing.transaction"
|
18
18
|
end
|
19
19
|
|
20
|
-
class AmountDetails < Stripe::StripeObject
|
21
|
-
attr_reader :atm_fee, :cashback_amount
|
22
|
-
end
|
23
|
-
|
24
|
-
class MerchantData < Stripe::StripeObject
|
25
|
-
attr_reader :category, :category_code, :city, :country, :name, :network_id, :postal_code, :state, :tax_id, :terminal_id, :url
|
26
|
-
end
|
27
|
-
|
28
|
-
class NetworkData < Stripe::StripeObject
|
29
|
-
attr_reader :authorization_code, :processing_date, :transaction_id
|
30
|
-
end
|
31
|
-
|
32
|
-
class PurchaseDetails < Stripe::StripeObject
|
33
|
-
class Fleet < Stripe::StripeObject
|
34
|
-
class CardholderPromptData < Stripe::StripeObject
|
35
|
-
attr_reader :driver_id, :odometer, :unspecified_id, :user_id, :vehicle_number
|
36
|
-
end
|
37
|
-
|
38
|
-
class ReportedBreakdown < Stripe::StripeObject
|
39
|
-
class Fuel < Stripe::StripeObject
|
40
|
-
attr_reader :gross_amount_decimal
|
41
|
-
end
|
42
|
-
|
43
|
-
class NonFuel < Stripe::StripeObject
|
44
|
-
attr_reader :gross_amount_decimal
|
45
|
-
end
|
46
|
-
|
47
|
-
class Tax < Stripe::StripeObject
|
48
|
-
attr_reader :local_amount_decimal, :national_amount_decimal
|
49
|
-
end
|
50
|
-
attr_reader :fuel, :non_fuel, :tax
|
51
|
-
end
|
52
|
-
attr_reader :cardholder_prompt_data, :purchase_type, :reported_breakdown, :service_type
|
53
|
-
end
|
54
|
-
|
55
|
-
class Flight < Stripe::StripeObject
|
56
|
-
class Segment < Stripe::StripeObject
|
57
|
-
attr_reader :arrival_airport_code, :carrier, :departure_airport_code, :flight_number, :service_class, :stopover_allowed
|
58
|
-
end
|
59
|
-
attr_reader :departure_at, :passenger_name, :refundable, :segments, :travel_agency
|
60
|
-
end
|
61
|
-
|
62
|
-
class Fuel < Stripe::StripeObject
|
63
|
-
attr_reader :industry_product_code, :quantity_decimal, :type, :unit, :unit_cost_decimal
|
64
|
-
end
|
65
|
-
|
66
|
-
class Lodging < Stripe::StripeObject
|
67
|
-
attr_reader :check_in_at, :nights
|
68
|
-
end
|
69
|
-
|
70
|
-
class Receipt < Stripe::StripeObject
|
71
|
-
attr_reader :description, :quantity, :total, :unit_cost
|
72
|
-
end
|
73
|
-
attr_reader :fleet, :flight, :fuel, :lodging, :receipt, :reference
|
74
|
-
end
|
75
|
-
|
76
|
-
class Treasury < Stripe::StripeObject
|
77
|
-
attr_reader :received_credit, :received_debit
|
78
|
-
end
|
79
|
-
# The transaction amount, which will be reflected in your balance. This amount is in your currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
80
|
-
attr_reader :amount
|
81
|
-
# Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
82
|
-
attr_reader :amount_details
|
83
|
-
# The `Authorization` object that led to this transaction.
|
84
|
-
attr_reader :authorization
|
85
|
-
# ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this transaction.
|
86
|
-
attr_reader :balance_transaction
|
87
|
-
# The card used to make this transaction.
|
88
|
-
attr_reader :card
|
89
|
-
# The cardholder to whom this transaction belongs.
|
90
|
-
attr_reader :cardholder
|
91
|
-
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
92
|
-
attr_reader :created
|
93
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
94
|
-
attr_reader :currency
|
95
|
-
# If you've disputed the transaction, the ID of the dispute.
|
96
|
-
attr_reader :dispute
|
97
|
-
# Unique identifier for the object.
|
98
|
-
attr_reader :id
|
99
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
100
|
-
attr_reader :livemode
|
101
|
-
# The amount that the merchant will receive, denominated in `merchant_currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). It will be different from `amount` if the merchant is taking payment in a different currency.
|
102
|
-
attr_reader :merchant_amount
|
103
|
-
# The currency with which the merchant is taking payment.
|
104
|
-
attr_reader :merchant_currency
|
105
|
-
# Attribute for field merchant_data
|
106
|
-
attr_reader :merchant_data
|
107
|
-
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
108
|
-
attr_reader :metadata
|
109
|
-
# Details about the transaction, such as processing dates, set by the card network.
|
110
|
-
attr_reader :network_data
|
111
|
-
# String representing the object's type. Objects of the same type share the same value.
|
112
|
-
attr_reader :object
|
113
|
-
# Additional purchase information that is optionally provided by the merchant.
|
114
|
-
attr_reader :purchase_details
|
115
|
-
# Attribute for field settlement
|
116
|
-
attr_reader :settlement
|
117
|
-
# [Token](https://stripe.com/docs/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null.
|
118
|
-
attr_reader :token
|
119
|
-
# [Treasury](https://stripe.com/docs/api/treasury) details related to this transaction if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts
|
120
|
-
attr_reader :treasury
|
121
|
-
# The nature of the transaction.
|
122
|
-
attr_reader :type
|
123
|
-
# The digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`.
|
124
|
-
attr_reader :wallet
|
125
|
-
|
126
20
|
# Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
|
127
|
-
def self.list(
|
21
|
+
def self.list(params = {}, opts = {})
|
128
22
|
request_stripe_object(
|
129
23
|
method: :get,
|
130
24
|
path: "/v1/issuing/transactions",
|
131
|
-
params:
|
25
|
+
params: params,
|
132
26
|
opts: opts
|
133
27
|
)
|
134
28
|
end
|
@@ -8,55 +8,5 @@ module Stripe
|
|
8
8
|
def self.object_name
|
9
9
|
"item"
|
10
10
|
end
|
11
|
-
|
12
|
-
class AdjustableQuantity < Stripe::StripeObject
|
13
|
-
attr_reader :enabled, :maximum, :minimum
|
14
|
-
end
|
15
|
-
|
16
|
-
class Discount < Stripe::StripeObject
|
17
|
-
attr_reader :amount, :discount
|
18
|
-
end
|
19
|
-
|
20
|
-
class Display < Stripe::StripeObject
|
21
|
-
attr_reader :description, :images, :name
|
22
|
-
end
|
23
|
-
|
24
|
-
class Tax < Stripe::StripeObject
|
25
|
-
attr_reader :amount, :rate, :taxability_reason, :taxable_amount
|
26
|
-
end
|
27
|
-
# Attribute for field adjustable_quantity
|
28
|
-
attr_reader :adjustable_quantity
|
29
|
-
# Total discount amount applied. If no discounts were applied, defaults to 0.
|
30
|
-
attr_reader :amount_discount
|
31
|
-
# Total before any discounts or taxes are applied.
|
32
|
-
attr_reader :amount_subtotal
|
33
|
-
# Total tax amount applied. If no tax was applied, defaults to 0.
|
34
|
-
attr_reader :amount_tax
|
35
|
-
# Total after discounts and taxes.
|
36
|
-
attr_reader :amount_total
|
37
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
38
|
-
attr_reader :currency
|
39
|
-
# An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name.
|
40
|
-
attr_reader :description
|
41
|
-
# The discounts applied to the line item.
|
42
|
-
attr_reader :discounts
|
43
|
-
# Attribute for field display
|
44
|
-
attr_reader :display
|
45
|
-
# Unique identifier for the object.
|
46
|
-
attr_reader :id
|
47
|
-
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
48
|
-
attr_reader :metadata
|
49
|
-
# String representing the object's type. Objects of the same type share the same value.
|
50
|
-
attr_reader :object
|
51
|
-
# The price used to generate the line item.
|
52
|
-
attr_reader :price
|
53
|
-
# The ID of the product for this line item.
|
54
|
-
#
|
55
|
-
# This will always be the same as `price.product`.
|
56
|
-
attr_reader :product
|
57
|
-
# The quantity of products being purchased.
|
58
|
-
attr_reader :quantity
|
59
|
-
# The taxes applied to the line item.
|
60
|
-
attr_reader :taxes
|
61
11
|
end
|
62
12
|
end
|
@@ -9,13 +9,6 @@ module Stripe
|
|
9
9
|
"login_link"
|
10
10
|
end
|
11
11
|
|
12
|
-
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
13
|
-
attr_reader :created
|
14
|
-
# String representing the object's type. Objects of the same type share the same value.
|
15
|
-
attr_reader :object
|
16
|
-
# The URL for the login link.
|
17
|
-
attr_reader :url
|
18
|
-
|
19
12
|
def self.retrieve(_id, _opts = nil)
|
20
13
|
raise NotImplementedError,
|
21
14
|
"Login links do not have IDs and cannot be retrieved. They can " \
|
@@ -8,83 +8,5 @@ module Stripe
|
|
8
8
|
def self.object_name
|
9
9
|
"mandate"
|
10
10
|
end
|
11
|
-
|
12
|
-
class CustomerAcceptance < Stripe::StripeObject
|
13
|
-
class Offline < Stripe::StripeObject; end
|
14
|
-
|
15
|
-
class Online < Stripe::StripeObject
|
16
|
-
attr_reader :ip_address, :user_agent
|
17
|
-
end
|
18
|
-
attr_reader :accepted_at, :offline, :online, :type
|
19
|
-
end
|
20
|
-
|
21
|
-
class MultiUse < Stripe::StripeObject; end
|
22
|
-
|
23
|
-
class PaymentMethodDetails < Stripe::StripeObject
|
24
|
-
class AcssDebit < Stripe::StripeObject
|
25
|
-
attr_reader :default_for, :interval_description, :payment_schedule, :transaction_type
|
26
|
-
end
|
27
|
-
|
28
|
-
class AmazonPay < Stripe::StripeObject; end
|
29
|
-
|
30
|
-
class AuBecsDebit < Stripe::StripeObject
|
31
|
-
attr_reader :url
|
32
|
-
end
|
33
|
-
|
34
|
-
class BacsDebit < Stripe::StripeObject
|
35
|
-
attr_reader :network_status, :reference, :revocation_reason, :url
|
36
|
-
end
|
37
|
-
|
38
|
-
class Card < Stripe::StripeObject; end
|
39
|
-
class Cashapp < Stripe::StripeObject; end
|
40
|
-
class KakaoPay < Stripe::StripeObject; end
|
41
|
-
class KrCard < Stripe::StripeObject; end
|
42
|
-
class Link < Stripe::StripeObject; end
|
43
|
-
|
44
|
-
class Paypal < Stripe::StripeObject
|
45
|
-
attr_reader :billing_agreement_id, :fingerprint, :payer_id, :verified_email
|
46
|
-
end
|
47
|
-
|
48
|
-
class Payto < Stripe::StripeObject
|
49
|
-
attr_reader :amount, :amount_type, :end_date, :payment_schedule, :payments_per_period, :purpose, :start_date
|
50
|
-
end
|
51
|
-
|
52
|
-
class RevolutPay < Stripe::StripeObject; end
|
53
|
-
|
54
|
-
class SepaDebit < Stripe::StripeObject
|
55
|
-
attr_reader :reference, :url
|
56
|
-
end
|
57
|
-
|
58
|
-
class UsBankAccount < Stripe::StripeObject
|
59
|
-
attr_reader :collection_method
|
60
|
-
end
|
61
|
-
attr_reader :acss_debit, :amazon_pay, :au_becs_debit, :bacs_debit, :card, :cashapp, :kakao_pay, :kr_card, :link, :paypal, :payto, :revolut_pay, :sepa_debit, :type, :us_bank_account
|
62
|
-
end
|
63
|
-
|
64
|
-
class SingleUse < Stripe::StripeObject
|
65
|
-
attr_reader :amount, :currency
|
66
|
-
end
|
67
|
-
# Attribute for field customer_acceptance
|
68
|
-
attr_reader :customer_acceptance
|
69
|
-
# Unique identifier for the object.
|
70
|
-
attr_reader :id
|
71
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
72
|
-
attr_reader :livemode
|
73
|
-
# Attribute for field multi_use
|
74
|
-
attr_reader :multi_use
|
75
|
-
# String representing the object's type. Objects of the same type share the same value.
|
76
|
-
attr_reader :object
|
77
|
-
# The account (if any) that the mandate is intended for.
|
78
|
-
attr_reader :on_behalf_of
|
79
|
-
# ID of the payment method associated with this mandate.
|
80
|
-
attr_reader :payment_method
|
81
|
-
# Attribute for field payment_method_details
|
82
|
-
attr_reader :payment_method_details
|
83
|
-
# Attribute for field single_use
|
84
|
-
attr_reader :single_use
|
85
|
-
# The mandate status indicates whether or not you can use it to initiate a payment.
|
86
|
-
attr_reader :status
|
87
|
-
# The type of the mandate.
|
88
|
-
attr_reader :type
|
89
11
|
end
|
90
12
|
end
|