stripe 6.4.0 → 7.0.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 +33 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/data/ca-certificates.crt +1241 -1937
- data/lib/stripe/api_version.rb +8 -0
- data/lib/stripe/object_types.rb +0 -7
- data/lib/stripe/resources/card.rb +1 -3
- data/lib/stripe/resources/checkout/session.rb +18 -3
- data/lib/stripe/resources/credit_note.rb +8 -8
- data/lib/stripe/resources/customer.rb +21 -38
- data/lib/stripe/resources/invoice.rb +14 -14
- data/lib/stripe/resources/issuing/card.rb +76 -14
- data/lib/stripe/resources/reporting/report_type.rb +0 -1
- data/lib/stripe/resources/subscription.rb +43 -1
- data/lib/stripe/resources/subscription_item.rb +0 -11
- data/lib/stripe/resources/transfer.rb +0 -18
- data/lib/stripe/resources.rb +0 -7
- data/lib/stripe/util.rb +9 -0
- data/lib/stripe/version.rb +1 -1
- metadata +3 -7
- data/lib/stripe/resources/bitcoin_receiver.rb +0 -24
- data/lib/stripe/resources/bitcoin_transaction.rb +0 -16
- data/lib/stripe/resources/issuing/card_details.rb +0 -10
- data/lib/stripe/resources/recipient.rb +0 -14
- data/lib/stripe/resources/three_d_secure.rb +0 -14
@@ -1,24 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
module Stripe
|
5
|
-
# Directly creating or retrieving BitcoinReceivers is deprecated. Please use
|
6
|
-
# the Sources API instead: https://stripe.com/docs/sources/bitcoin
|
7
|
-
class BitcoinReceiver < APIResource
|
8
|
-
extend Stripe::APIOperations::List
|
9
|
-
|
10
|
-
OBJECT_NAME = "bitcoin_receiver"
|
11
|
-
|
12
|
-
def self.resource_url
|
13
|
-
"/v1/bitcoin/receivers"
|
14
|
-
end
|
15
|
-
|
16
|
-
def resource_url
|
17
|
-
if respond_to?(:customer) && !customer.nil? && customer != ""
|
18
|
-
"#{Customer.resource_url}/#{CGI.escape(customer)}/sources/#{CGI.escape(id)}"
|
19
|
-
else
|
20
|
-
"#{self.class.resource_url}/#{CGI.escape(id)}"
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
module Stripe
|
5
|
-
# Directly retrieving BitcoinTransactions is deprecated. Please use
|
6
|
-
# the Sources API instead: https://stripe.com/docs/sources/bitcoin
|
7
|
-
class BitcoinTransaction < APIResource
|
8
|
-
extend Stripe::APIOperations::List
|
9
|
-
|
10
|
-
OBJECT_NAME = "bitcoin_transaction"
|
11
|
-
|
12
|
-
def self.resource_url
|
13
|
-
"/v1/bitcoin/transactions"
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
module Stripe
|
5
|
-
# Recipients objects are deprecated. Please use Stripe Connect instead.
|
6
|
-
class Recipient < APIResource
|
7
|
-
extend Stripe::APIOperations::Create
|
8
|
-
include Stripe::APIOperations::Delete
|
9
|
-
extend Stripe::APIOperations::List
|
10
|
-
include Stripe::APIOperations::Save
|
11
|
-
|
12
|
-
OBJECT_NAME = "recipient"
|
13
|
-
end
|
14
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
module Stripe
|
5
|
-
class ThreeDSecure < APIResource
|
6
|
-
extend Stripe::APIOperations::Create
|
7
|
-
|
8
|
-
OBJECT_NAME = "three_d_secure"
|
9
|
-
|
10
|
-
def self.resource_url
|
11
|
-
"/v1/3d_secure"
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|