checkout_sdk 0.3.2 → 1.0.0.beta.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +31 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +5 -2
- data/LICENSE.md +9 -0
- data/README.md +96 -110
- data/Rakefile +3 -1
- data/lib/checkout_sdk/abstract_checkout_sdk_builder.rb +28 -0
- data/lib/checkout_sdk/api_client.rb +135 -0
- data/lib/checkout_sdk/apm/apm.rb +12 -0
- data/lib/checkout_sdk/apm/ideal/ideal_client.rb +25 -0
- data/lib/checkout_sdk/apm/previous/klarna/credit_session_request.rb +30 -0
- data/lib/checkout_sdk/apm/previous/klarna/klarna.rb +24 -0
- data/lib/checkout_sdk/apm/previous/klarna/klarna_client.rb +55 -0
- data/lib/checkout_sdk/apm/previous/klarna/klarna_product.rb +30 -0
- data/lib/checkout_sdk/apm/previous/klarna/klarna_shipping_info.rb +33 -0
- data/lib/checkout_sdk/apm/previous/klarna/order_capture_request.rb +37 -0
- data/lib/checkout_sdk/apm/previous/sepa/sepa_client.rb +42 -0
- data/lib/checkout_sdk/authorization_type.rb +12 -0
- data/lib/checkout_sdk/checkout_api.rb +51 -0
- data/lib/checkout_sdk/checkout_configuration.rb +22 -0
- data/lib/checkout_sdk/checkout_oauth_sdk_builder.rb +52 -0
- data/lib/checkout_sdk/checkout_sdk_builder.rb +20 -0
- data/lib/checkout_sdk/checkout_static_keys_sdk_builder.rb +23 -0
- data/lib/checkout_sdk/checkout_utils.rb +15 -0
- data/lib/checkout_sdk/client.rb +46 -0
- data/lib/checkout_sdk/common/abstract_file_request.rb +11 -0
- data/lib/checkout_sdk/common/account_holder.rb +44 -0
- data/lib/checkout_sdk/common/account_holder_identification.rb +20 -0
- data/lib/checkout_sdk/common/account_holder_identification_type.rb +13 -0
- data/lib/checkout_sdk/common/account_holder_type.rb +11 -0
- data/lib/checkout_sdk/common/account_type.rb +11 -0
- data/lib/checkout_sdk/common/address.rb +26 -0
- data/lib/checkout_sdk/common/amount_allocations.rb +20 -0
- data/lib/checkout_sdk/common/bank_details.rb +17 -0
- data/lib/checkout_sdk/common/challenge_indicator.rb +12 -0
- data/lib/checkout_sdk/common/commission.rb +14 -0
- data/lib/checkout_sdk/common/common.rb +22 -0
- data/lib/checkout_sdk/common/country.rb +260 -0
- data/lib/checkout_sdk/common/currency.rb +168 -0
- data/lib/checkout_sdk/common/customer_request.rb +26 -0
- data/lib/checkout_sdk/common/file_purpose.rb +9 -0
- data/lib/checkout_sdk/common/file_request.rb +11 -0
- data/lib/checkout_sdk/common/instrument_type.rb +11 -0
- data/lib/checkout_sdk/common/payment_source_type.rb +52 -0
- data/lib/checkout_sdk/common/phone.rb +14 -0
- data/lib/checkout_sdk/common/update_customer_request.rb +14 -0
- data/lib/checkout_sdk/customers/customer_request.rb +26 -0
- data/lib/checkout_sdk/customers/customers.rb +4 -0
- data/lib/checkout_sdk/customers/customers_client.rb +37 -0
- data/lib/checkout_sdk/disputes/dispute_evidence_request.rb +60 -0
- data/lib/checkout_sdk/disputes/dispute_status.rb +19 -0
- data/lib/checkout_sdk/disputes/disputes.rb +6 -0
- data/lib/checkout_sdk/disputes/disputes_client.rb +55 -0
- data/lib/checkout_sdk/disputes/disputes_query_filter.rb +47 -0
- data/lib/checkout_sdk/environment.rb +59 -0
- data/lib/checkout_sdk/error.rb +30 -0
- data/lib/checkout_sdk/forex/forex.rb +4 -0
- data/lib/checkout_sdk/forex/forex_client.rb +21 -0
- data/lib/checkout_sdk/forex/quote_request.rb +23 -0
- data/lib/checkout_sdk/http_metadata.rb +9 -0
- data/lib/checkout_sdk/instruments/create/instrument_bank_account_request.rb +51 -0
- data/lib/checkout_sdk/instruments/create/instrument_request.rb +17 -0
- data/lib/checkout_sdk/instruments/create/instrument_token_request.rb +21 -0
- data/lib/checkout_sdk/instruments/get/bank_account_field_query.rb +14 -0
- data/lib/checkout_sdk/instruments/get/payment_network.rb +14 -0
- data/lib/checkout_sdk/instruments/instruments.rb +15 -0
- data/lib/checkout_sdk/instruments/instruments_client.rb +49 -0
- data/lib/checkout_sdk/instruments/update/update_instrument_bank_account_request.rb +51 -0
- data/lib/checkout_sdk/instruments/update/update_instrument_card_request.rb +27 -0
- data/lib/checkout_sdk/instruments/update/update_instrument_request.rb +17 -0
- data/lib/checkout_sdk/instruments/update/update_instrument_token_request.rb +15 -0
- data/lib/checkout_sdk/json_serializer.rb +54 -0
- data/lib/checkout_sdk/oauth_access_token.rb +27 -0
- data/lib/checkout_sdk/oauth_scopes.rb +41 -0
- data/lib/checkout_sdk/oauth_sdk_credentials.rb +112 -0
- data/lib/checkout_sdk/payments/airline_data.rb +17 -0
- data/lib/checkout_sdk/payments/authorization_request.rb +17 -0
- data/lib/checkout_sdk/payments/authorization_type.rb +11 -0
- data/lib/checkout_sdk/payments/billing_descriptor.rb +17 -0
- data/lib/checkout_sdk/payments/capture_request.rb +41 -0
- data/lib/checkout_sdk/payments/capture_type.rb +10 -0
- data/lib/checkout_sdk/payments/charge_bearer.rb +10 -0
- data/lib/checkout_sdk/payments/d_local_installments.rb +11 -0
- data/lib/checkout_sdk/payments/d_local_processing_settings.rb +17 -0
- data/lib/checkout_sdk/payments/destination/bank_account_destination.rb +42 -0
- data/lib/checkout_sdk/payments/destination/card_destination.rb +24 -0
- data/lib/checkout_sdk/payments/destination/destination.rb +19 -0
- data/lib/checkout_sdk/payments/destination/destination_type.rb +12 -0
- data/lib/checkout_sdk/payments/destination/id_destination.rb +18 -0
- data/lib/checkout_sdk/payments/destination/token_destination.rb +18 -0
- data/lib/checkout_sdk/payments/exemption.rb +17 -0
- data/lib/checkout_sdk/payments/flight_leg_details.rb +35 -0
- data/lib/checkout_sdk/payments/instruction_scheme.rb +11 -0
- data/lib/checkout_sdk/payments/merchant_initiated_reason.rb +12 -0
- data/lib/checkout_sdk/payments/network_token_type.rb +12 -0
- data/lib/checkout_sdk/payments/os_type.rb +10 -0
- data/lib/checkout_sdk/payments/passenger.rb +17 -0
- data/lib/checkout_sdk/payments/passenger_name.rb +11 -0
- data/lib/checkout_sdk/payments/payer.rb +17 -0
- data/lib/checkout_sdk/payments/payment_instruction.rb +32 -0
- data/lib/checkout_sdk/payments/payment_recipient.rb +20 -0
- data/lib/checkout_sdk/payments/payment_request.rb +86 -0
- data/lib/checkout_sdk/payments/payment_type.rb +13 -0
- data/lib/checkout_sdk/payments/payments.rb +82 -0
- data/lib/checkout_sdk/payments/payments_client.rb +86 -0
- data/lib/checkout_sdk/payments/payout_billing_descriptor.rb +11 -0
- data/lib/checkout_sdk/payments/payout_request.rb +38 -0
- data/lib/checkout_sdk/payments/preferred_schema.rb +11 -0
- data/lib/checkout_sdk/payments/processing_settings.rb +80 -0
- data/lib/checkout_sdk/payments/product.rb +47 -0
- data/lib/checkout_sdk/payments/product_type.rb +12 -0
- data/lib/checkout_sdk/payments/refund_request.rb +17 -0
- data/lib/checkout_sdk/payments/risk_request.rb +11 -0
- data/lib/checkout_sdk/payments/sender/corporate_sender.rb +27 -0
- data/lib/checkout_sdk/payments/sender/government_sender.rb +27 -0
- data/lib/checkout_sdk/payments/sender/individual_sender.rb +42 -0
- data/lib/checkout_sdk/payments/sender/instrument_sender.rb +11 -0
- data/lib/checkout_sdk/payments/sender/sender.rb +22 -0
- data/lib/checkout_sdk/payments/sender/sender_type.rb +12 -0
- data/lib/checkout_sdk/payments/sender/source_of_funds.rb +14 -0
- data/lib/checkout_sdk/payments/sender/ticket.rb +23 -0
- data/lib/checkout_sdk/payments/shipping_details.rb +17 -0
- data/lib/checkout_sdk/payments/shipping_preference.rb +11 -0
- data/lib/checkout_sdk/payments/source/apm/after_pay_source.rb +15 -0
- data/lib/checkout_sdk/payments/source/apm/alipay_plus_source.rb +47 -0
- data/lib/checkout_sdk/payments/source/apm/bancontact_source.rb +24 -0
- data/lib/checkout_sdk/payments/source/apm/benefit_source.rb +11 -0
- data/lib/checkout_sdk/payments/source/apm/eps_source.rb +15 -0
- data/lib/checkout_sdk/payments/source/apm/giropay_source.rb +27 -0
- data/lib/checkout_sdk/payments/source/apm/ideal_source.rb +21 -0
- data/lib/checkout_sdk/payments/source/apm/knet_source.rb +36 -0
- data/lib/checkout_sdk/payments/source/apm/mbway_source.rb +11 -0
- data/lib/checkout_sdk/payments/source/apm/multi_banco_source.rb +21 -0
- data/lib/checkout_sdk/payments/source/apm/p24_source.rb +24 -0
- data/lib/checkout_sdk/payments/source/apm/paypal_source.rb +11 -0
- data/lib/checkout_sdk/payments/source/apm/post_finance_source.rb +21 -0
- data/lib/checkout_sdk/payments/source/apm/qpay_source.rb +24 -0
- data/lib/checkout_sdk/payments/source/apm/sofort_source.rb +18 -0
- data/lib/checkout_sdk/payments/source/apm/stcpay_source.rb +11 -0
- data/lib/checkout_sdk/payments/source/apm/tamara_source.rb +15 -0
- data/lib/checkout_sdk/payments/source/apm/we_chat_pay_source.rb +15 -0
- data/lib/checkout_sdk/payments/source/bank_account_source.rb +30 -0
- data/lib/checkout_sdk/payments/source/card_source.rb +39 -0
- data/lib/checkout_sdk/payments/source/currency_account_source.rb +15 -0
- data/lib/checkout_sdk/payments/source/id_source.rb +21 -0
- data/lib/checkout_sdk/payments/source/network_token_source.rb +45 -0
- data/lib/checkout_sdk/payments/source/payment_request_source.rb +18 -0
- data/lib/checkout_sdk/payments/source/payout_request_source.rb +22 -0
- data/lib/checkout_sdk/payments/source/payout_source_type.rb +9 -0
- data/lib/checkout_sdk/payments/source/provider_token_source.rb +21 -0
- data/lib/checkout_sdk/payments/source/token_source.rb +24 -0
- data/lib/checkout_sdk/payments/terminal_type.rb +11 -0
- data/lib/checkout_sdk/payments/three_ds_flow_type.rb +11 -0
- data/lib/checkout_sdk/payments/three_ds_request.rb +56 -0
- data/lib/checkout_sdk/payments/user_action.rb +10 -0
- data/lib/checkout_sdk/payments/void_request.rb +14 -0
- data/lib/checkout_sdk/platform_type.rb +10 -0
- data/lib/checkout_sdk/previous/checkout_api.rb +29 -0
- data/lib/checkout_sdk/previous/checkout_previous_sdk_builder.rb +11 -0
- data/lib/checkout_sdk/previous/checkout_previous_static_keys_sdk_builder.rb +24 -0
- data/lib/checkout_sdk/previous/previous_static_keys_sdk_credentials.rb +38 -0
- data/lib/checkout_sdk/sdk_authorization.rb +25 -0
- data/lib/checkout_sdk/sdk_credentials.rb +12 -0
- data/lib/checkout_sdk/sessions/authentication_method.rb +14 -0
- data/lib/checkout_sdk/sessions/authentication_type.rb +10 -0
- data/lib/checkout_sdk/sessions/card_holder_account_info.rb +32 -0
- data/lib/checkout_sdk/sessions/category.rb +10 -0
- data/lib/checkout_sdk/sessions/channel/app_session.rb +36 -0
- data/lib/checkout_sdk/sessions/channel/browser_session.rb +42 -0
- data/lib/checkout_sdk/sessions/channel/channel_data.rb +19 -0
- data/lib/checkout_sdk/sessions/channel/channel_data_type.rb +10 -0
- data/lib/checkout_sdk/sessions/channel/sdk_ephemeral_public_key.rb +19 -0
- data/lib/checkout_sdk/sessions/channel/sdk_interface_type.rb +11 -0
- data/lib/checkout_sdk/sessions/channel/three_ds_method_completion.rb +11 -0
- data/lib/checkout_sdk/sessions/channel/uie_elements.rb +13 -0
- data/lib/checkout_sdk/sessions/completion/completion_info.rb +19 -0
- data/lib/checkout_sdk/sessions/completion/completion_info_type.rb +10 -0
- data/lib/checkout_sdk/sessions/completion/hosted_completion_info.rb +21 -0
- data/lib/checkout_sdk/sessions/completion/non_hosted_completion_info.rb +15 -0
- data/lib/checkout_sdk/sessions/delivery_timeframe.rb +12 -0
- data/lib/checkout_sdk/sessions/installment.rb +17 -0
- data/lib/checkout_sdk/sessions/merchant_risk_info.rb +23 -0
- data/lib/checkout_sdk/sessions/recurring.rb +14 -0
- data/lib/checkout_sdk/sessions/session_address.rb +11 -0
- data/lib/checkout_sdk/sessions/session_marketplace_data.rb +11 -0
- data/lib/checkout_sdk/sessions/session_request.rb +68 -0
- data/lib/checkout_sdk/sessions/session_secret_credentials.rb +28 -0
- data/lib/checkout_sdk/sessions/session_source_type.rb +12 -0
- data/lib/checkout_sdk/sessions/sessions.rb +47 -0
- data/lib/checkout_sdk/sessions/sessions_billing_descriptor.rb +11 -0
- data/lib/checkout_sdk/sessions/sessions_client.rb +64 -0
- data/lib/checkout_sdk/sessions/shipping_indicator.rb +9 -0
- data/lib/checkout_sdk/sessions/source/card_source.rb +30 -0
- data/lib/checkout_sdk/sessions/source/id_source.rb +15 -0
- data/lib/checkout_sdk/sessions/source/network_token_source.rb +27 -0
- data/lib/checkout_sdk/sessions/source/session_scheme.rb +14 -0
- data/lib/checkout_sdk/sessions/source/session_source.rb +37 -0
- data/lib/checkout_sdk/sessions/source/token_source.rb +18 -0
- data/lib/checkout_sdk/sessions/three_ds_method_completion_request.rb +11 -0
- data/lib/checkout_sdk/sessions/transaction_type.rb +13 -0
- data/lib/checkout_sdk/static_keys_builder.rb +35 -0
- data/lib/checkout_sdk/static_keys_sdk_credentials.rb +35 -0
- data/lib/checkout_sdk/tokens/apple_pay_token_data.rb +20 -0
- data/lib/checkout_sdk/tokens/apple_pay_token_request.rb +15 -0
- data/lib/checkout_sdk/tokens/card_token_request.rb +36 -0
- data/lib/checkout_sdk/tokens/google_pay_token_data.rb +17 -0
- data/lib/checkout_sdk/tokens/google_pay_token_request.rb +15 -0
- data/lib/checkout_sdk/tokens/token_type.rb +11 -0
- data/lib/checkout_sdk/tokens/tokens.rb +10 -0
- data/lib/checkout_sdk/tokens/tokens_client.rb +21 -0
- data/lib/checkout_sdk/tokens/wallet_token_request.rb +19 -0
- data/lib/checkout_sdk/version.rb +3 -1
- data/lib/checkout_sdk.rb +59 -21
- data/sig/checkout_sdk.rbs +4 -0
- metadata +254 -81
- data/.gitignore +0 -11
- data/.travis.yml +0 -7
- data/Gemfile.lock +0 -45
- data/LICENSE +0 -21
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/checkout_sdk.gemspec +0 -24
- data/documentation/.gitignore +0 -20
- data/documentation/docs/environment.md +0 -26
- data/documentation/docs/getting_started.md +0 -48
- data/documentation/docs/initialize.md +0 -19
- data/documentation/docs/install.md +0 -21
- data/documentation/docs/payments.md +0 -200
- data/documentation/docs/sources.md +0 -53
- data/documentation/docs/tokens.md +0 -88
- data/documentation/docusaurus.config.js +0 -60
- data/documentation/package-lock.json +0 -13511
- data/documentation/package.json +0 -32
- data/documentation/sidebars.js +0 -10
- data/documentation/src/css/custom.css +0 -103
- data/documentation/src/pages/index.js +0 -10
- data/documentation/src/pages/styles.module.css +0 -37
- data/documentation/static/img/favicon.png +0 -0
- data/documentation/static/img/logo.png +0 -0
- data/documentation/static/img/undraw_docusaurus_mountain.svg +0 -170
- data/documentation/static/img/undraw_docusaurus_react.svg +0 -169
- data/documentation/static/img/undraw_docusaurus_tree.svg +0 -1
- data/documentation/yarn.lock +0 -9369
- data/lib/checkout_sdk/api_resource.rb +0 -77
- data/lib/checkout_sdk/configuration.rb +0 -10
- data/lib/checkout_sdk/data/capture_payment.rb +0 -11
- data/lib/checkout_sdk/data/payment_request_source.rb +0 -145
- data/lib/checkout_sdk/data/payment_source.rb +0 -40
- data/lib/checkout_sdk/data/refund_payment.rb +0 -11
- data/lib/checkout_sdk/data/request_token.rb +0 -67
- data/lib/checkout_sdk/data/void_payment.rb +0 -10
- data/spec/checkout_sdk/api_resource_spec.rb +0 -126
- data/spec/checkout_sdk/data/payment_request_source_spec.rb +0 -126
- data/spec/checkout_sdk/data/request_token_spec.rb +0 -107
- data/spec/checkout_sdk_spec.rb +0 -21
- data/spec/spec_helper.rb +0 -32
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CheckoutSdk
|
4
|
+
module Tokens
|
5
|
+
# @!attribute type
|
6
|
+
# @return [String]
|
7
|
+
# @!attribute number
|
8
|
+
# @return [String]
|
9
|
+
# @!attribute expiry_month
|
10
|
+
# @return [Integer]
|
11
|
+
# @!attribute expiry_year
|
12
|
+
# @return [Integer]
|
13
|
+
# @!attribute name
|
14
|
+
# @return [String]
|
15
|
+
# @!attribute cvv
|
16
|
+
# @return [String]
|
17
|
+
# @!attribute billing_address
|
18
|
+
# @return [String] {CheckoutSdk::Common::Address}
|
19
|
+
# @!attribute phone
|
20
|
+
# @return [String] {CheckoutSdk::Common::Phone}
|
21
|
+
class CardTokenRequest
|
22
|
+
attr_accessor :type,
|
23
|
+
:number,
|
24
|
+
:expiry_month,
|
25
|
+
:expiry_year,
|
26
|
+
:name,
|
27
|
+
:cvv,
|
28
|
+
:billing_address,
|
29
|
+
:phone
|
30
|
+
|
31
|
+
def initialize
|
32
|
+
@type = CheckoutSdk::Tokens::TokenType::CARD
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CheckoutSdk
|
4
|
+
module Tokens
|
5
|
+
# @!attribute signature
|
6
|
+
# @return [String]
|
7
|
+
# @!attribute protocolVersion
|
8
|
+
# @return [String]
|
9
|
+
# @!attribute signedMessage
|
10
|
+
# @return [String]
|
11
|
+
class GooglePayTokenData
|
12
|
+
attr_accessor :signature,
|
13
|
+
:protocolVersion,
|
14
|
+
:signedMessage
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CheckoutSdk
|
4
|
+
module Tokens
|
5
|
+
# @!attribute token_data
|
6
|
+
# @return [GooglePayTokenData]
|
7
|
+
class GooglePayTokenRequest < WalletTokenRequest
|
8
|
+
attr_accessor :token_data
|
9
|
+
|
10
|
+
def initialize
|
11
|
+
super CheckoutSdk::Tokens::TokenType::GOOGLE_PAY
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'checkout_sdk/tokens/tokens_client'
|
4
|
+
require 'checkout_sdk/tokens/token_type'
|
5
|
+
require 'checkout_sdk/tokens/wallet_token_request'
|
6
|
+
require 'checkout_sdk/tokens/google_pay_token_data'
|
7
|
+
require 'checkout_sdk/tokens/apple_pay_token_request'
|
8
|
+
require 'checkout_sdk/tokens/google_pay_token_request'
|
9
|
+
require 'checkout_sdk/tokens/apple_pay_token_data'
|
10
|
+
require 'checkout_sdk/tokens/card_token_request'
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CheckoutSdk
|
4
|
+
module Tokens
|
5
|
+
class TokensClient < Client
|
6
|
+
TOKENS = 'tokens'
|
7
|
+
private_constant :TOKENS
|
8
|
+
|
9
|
+
# @param [ApiClient] api_client
|
10
|
+
# @param [CheckoutConfiguration] configuration
|
11
|
+
def initialize(api_client, configuration)
|
12
|
+
super(api_client, configuration, CheckoutSdk::AuthorizationType::PUBLIC_KEY)
|
13
|
+
end
|
14
|
+
|
15
|
+
# @param [CardTokenRequest, WalletTokenRequest] token_request
|
16
|
+
def request_token(token_request)
|
17
|
+
api_client.invoke_post(TOKENS, sdk_authorization, token_request)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module CheckoutSdk
|
4
|
+
module Tokens
|
5
|
+
# @!attribute type
|
6
|
+
# @return [String] {TokenType}
|
7
|
+
class WalletTokenRequest
|
8
|
+
attr_accessor :type
|
9
|
+
|
10
|
+
protected
|
11
|
+
|
12
|
+
# @abstract
|
13
|
+
# @param [String] type {TokenType}
|
14
|
+
def initialize(type)
|
15
|
+
@type = type
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/checkout_sdk/version.rb
CHANGED
data/lib/checkout_sdk.rb
CHANGED
@@ -1,26 +1,64 @@
|
|
1
|
-
|
2
|
-
class << self
|
3
|
-
attr_accessor :configuration
|
4
|
-
end
|
1
|
+
# frozen_string_literal: true
|
5
2
|
|
6
|
-
|
7
|
-
|
8
|
-
|
3
|
+
# Commons
|
4
|
+
require 'time'
|
5
|
+
require 'json'
|
6
|
+
require 'faraday'
|
7
|
+
require 'faraday/multipart'
|
8
|
+
require 'faraday/net_http'
|
9
|
+
require 'mime/types'
|
9
10
|
|
10
|
-
|
11
|
-
|
12
|
-
|
11
|
+
# Version
|
12
|
+
require 'checkout_sdk/version'
|
13
|
+
|
14
|
+
# Configuration
|
15
|
+
require 'checkout_sdk/error'
|
16
|
+
require 'checkout_sdk/json_serializer'
|
17
|
+
require 'checkout_sdk/http_metadata'
|
18
|
+
require 'checkout_sdk/checkout_utils'
|
19
|
+
require 'checkout_sdk/platform_type'
|
20
|
+
require 'checkout_sdk/environment'
|
21
|
+
require 'checkout_sdk/sdk_credentials'
|
22
|
+
require 'checkout_sdk/sdk_authorization'
|
23
|
+
require 'checkout_sdk/static_keys_sdk_credentials'
|
24
|
+
require 'checkout_sdk/checkout_configuration'
|
25
|
+
require 'checkout_sdk/authorization_type'
|
26
|
+
require 'checkout_sdk/client'
|
27
|
+
require 'checkout_sdk/api_client'
|
28
|
+
require 'checkout_sdk/abstract_checkout_sdk_builder'
|
29
|
+
require 'checkout_sdk/static_keys_builder'
|
30
|
+
require 'checkout_sdk/checkout_static_keys_sdk_builder'
|
31
|
+
require 'checkout_sdk/checkout_sdk_builder'
|
32
|
+
require 'checkout_sdk/checkout_api'
|
33
|
+
|
34
|
+
# Configuration(Previous)
|
35
|
+
require 'checkout_sdk/previous/checkout_previous_static_keys_sdk_builder'
|
36
|
+
require 'checkout_sdk/previous/checkout_previous_sdk_builder'
|
37
|
+
require 'checkout_sdk/previous/previous_static_keys_sdk_credentials'
|
38
|
+
require 'checkout_sdk/previous/checkout_api'
|
13
39
|
|
14
|
-
|
15
|
-
|
40
|
+
# OAuth
|
41
|
+
require 'checkout_sdk/oauth_access_token'
|
42
|
+
require 'checkout_sdk/oauth_scopes'
|
43
|
+
require 'checkout_sdk/oauth_sdk_credentials'
|
44
|
+
require 'checkout_sdk/checkout_oauth_sdk_builder'
|
45
|
+
|
46
|
+
# Checkout modules
|
47
|
+
require 'checkout_sdk/common/common'
|
48
|
+
require 'checkout_sdk/customers/customers'
|
49
|
+
require 'checkout_sdk/disputes/disputes'
|
50
|
+
require 'checkout_sdk/forex/forex'
|
51
|
+
require 'checkout_sdk/instruments/instruments'
|
52
|
+
require 'checkout_sdk/payments/payments'
|
53
|
+
require 'checkout_sdk/sessions/sessions'
|
54
|
+
require 'checkout_sdk/tokens/tokens'
|
55
|
+
require 'checkout_sdk/apm/apm'
|
56
|
+
|
57
|
+
module CheckoutSdk
|
58
|
+
include PlatformType
|
59
|
+
|
60
|
+
# @return [CheckoutSdk::CheckoutSdkBuilder]
|
61
|
+
def self.builder
|
62
|
+
CheckoutSdkBuilder.new
|
16
63
|
end
|
17
64
|
end
|
18
|
-
|
19
|
-
require "checkout_sdk/configuration"
|
20
|
-
require "checkout_sdk/api_resource"
|
21
|
-
require "checkout_sdk/data/capture_payment"
|
22
|
-
require "checkout_sdk/data/payment_request_source"
|
23
|
-
require "checkout_sdk/data/payment_source"
|
24
|
-
require "checkout_sdk/data/refund_payment"
|
25
|
-
require "checkout_sdk/data/request_token"
|
26
|
-
require "checkout_sdk/data/void_payment"
|
metadata
CHANGED
@@ -1,163 +1,336 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: checkout_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.beta.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Checkout
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '13.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '13.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rubocop
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.36.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 1.36.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: faraday
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
62
|
-
|
61
|
+
version: '2.5'
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 2.5.2
|
65
|
+
type: :runtime
|
63
66
|
prerelease: false
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
65
68
|
requirements:
|
66
69
|
- - "~>"
|
67
70
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
71
|
+
version: '2.5'
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 2.5.2
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
76
|
+
name: faraday-multipart
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
81
|
+
version: 1.0.4
|
76
82
|
type: :runtime
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
88
|
+
version: 1.0.4
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
90
|
+
name: mime-types
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
|
-
- - "
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.66'
|
90
|
-
- - "<="
|
93
|
+
- - "~>"
|
91
94
|
- !ruby/object:Gem::Version
|
92
|
-
version:
|
95
|
+
version: '3.0'
|
93
96
|
type: :runtime
|
94
97
|
prerelease: false
|
95
98
|
version_requirements: !ruby/object:Gem::Requirement
|
96
99
|
requirements:
|
97
|
-
- - "
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '0.66'
|
100
|
-
- - "<="
|
100
|
+
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
103
|
-
description:
|
102
|
+
version: '3.0'
|
103
|
+
description: |-
|
104
|
+
Accept online payments, create a Platform, and pay out to your sub-entities,
|
105
|
+
sellers and service providers.
|
104
106
|
email:
|
105
|
-
-
|
107
|
+
- integration@checkout.com
|
106
108
|
executables: []
|
107
109
|
extensions: []
|
108
110
|
extra_rdoc_files: []
|
109
111
|
files:
|
110
|
-
- ".gitignore"
|
111
112
|
- ".rspec"
|
112
|
-
- ".
|
113
|
+
- ".rubocop.yml"
|
114
|
+
- CODE_OF_CONDUCT.md
|
113
115
|
- Gemfile
|
114
|
-
-
|
115
|
-
- LICENSE
|
116
|
+
- LICENSE.md
|
116
117
|
- README.md
|
117
118
|
- Rakefile
|
118
|
-
- bin/console
|
119
|
-
- bin/setup
|
120
|
-
- checkout_sdk.gemspec
|
121
|
-
- documentation/.gitignore
|
122
|
-
- documentation/docs/environment.md
|
123
|
-
- documentation/docs/getting_started.md
|
124
|
-
- documentation/docs/initialize.md
|
125
|
-
- documentation/docs/install.md
|
126
|
-
- documentation/docs/payments.md
|
127
|
-
- documentation/docs/sources.md
|
128
|
-
- documentation/docs/tokens.md
|
129
|
-
- documentation/docusaurus.config.js
|
130
|
-
- documentation/package-lock.json
|
131
|
-
- documentation/package.json
|
132
|
-
- documentation/sidebars.js
|
133
|
-
- documentation/src/css/custom.css
|
134
|
-
- documentation/src/pages/index.js
|
135
|
-
- documentation/src/pages/styles.module.css
|
136
|
-
- documentation/static/img/favicon.png
|
137
|
-
- documentation/static/img/logo.png
|
138
|
-
- documentation/static/img/undraw_docusaurus_mountain.svg
|
139
|
-
- documentation/static/img/undraw_docusaurus_react.svg
|
140
|
-
- documentation/static/img/undraw_docusaurus_tree.svg
|
141
|
-
- documentation/yarn.lock
|
142
119
|
- lib/checkout_sdk.rb
|
143
|
-
- lib/checkout_sdk/
|
144
|
-
- lib/checkout_sdk/
|
145
|
-
- lib/checkout_sdk/
|
146
|
-
- lib/checkout_sdk/
|
147
|
-
- lib/checkout_sdk/
|
148
|
-
- lib/checkout_sdk/
|
149
|
-
- lib/checkout_sdk/
|
150
|
-
- lib/checkout_sdk/
|
120
|
+
- lib/checkout_sdk/abstract_checkout_sdk_builder.rb
|
121
|
+
- lib/checkout_sdk/api_client.rb
|
122
|
+
- lib/checkout_sdk/apm/apm.rb
|
123
|
+
- lib/checkout_sdk/apm/ideal/ideal_client.rb
|
124
|
+
- lib/checkout_sdk/apm/previous/klarna/credit_session_request.rb
|
125
|
+
- lib/checkout_sdk/apm/previous/klarna/klarna.rb
|
126
|
+
- lib/checkout_sdk/apm/previous/klarna/klarna_client.rb
|
127
|
+
- lib/checkout_sdk/apm/previous/klarna/klarna_product.rb
|
128
|
+
- lib/checkout_sdk/apm/previous/klarna/klarna_shipping_info.rb
|
129
|
+
- lib/checkout_sdk/apm/previous/klarna/order_capture_request.rb
|
130
|
+
- lib/checkout_sdk/apm/previous/sepa/sepa_client.rb
|
131
|
+
- lib/checkout_sdk/authorization_type.rb
|
132
|
+
- lib/checkout_sdk/checkout_api.rb
|
133
|
+
- lib/checkout_sdk/checkout_configuration.rb
|
134
|
+
- lib/checkout_sdk/checkout_oauth_sdk_builder.rb
|
135
|
+
- lib/checkout_sdk/checkout_sdk_builder.rb
|
136
|
+
- lib/checkout_sdk/checkout_static_keys_sdk_builder.rb
|
137
|
+
- lib/checkout_sdk/checkout_utils.rb
|
138
|
+
- lib/checkout_sdk/client.rb
|
139
|
+
- lib/checkout_sdk/common/abstract_file_request.rb
|
140
|
+
- lib/checkout_sdk/common/account_holder.rb
|
141
|
+
- lib/checkout_sdk/common/account_holder_identification.rb
|
142
|
+
- lib/checkout_sdk/common/account_holder_identification_type.rb
|
143
|
+
- lib/checkout_sdk/common/account_holder_type.rb
|
144
|
+
- lib/checkout_sdk/common/account_type.rb
|
145
|
+
- lib/checkout_sdk/common/address.rb
|
146
|
+
- lib/checkout_sdk/common/amount_allocations.rb
|
147
|
+
- lib/checkout_sdk/common/bank_details.rb
|
148
|
+
- lib/checkout_sdk/common/challenge_indicator.rb
|
149
|
+
- lib/checkout_sdk/common/commission.rb
|
150
|
+
- lib/checkout_sdk/common/common.rb
|
151
|
+
- lib/checkout_sdk/common/country.rb
|
152
|
+
- lib/checkout_sdk/common/currency.rb
|
153
|
+
- lib/checkout_sdk/common/customer_request.rb
|
154
|
+
- lib/checkout_sdk/common/file_purpose.rb
|
155
|
+
- lib/checkout_sdk/common/file_request.rb
|
156
|
+
- lib/checkout_sdk/common/instrument_type.rb
|
157
|
+
- lib/checkout_sdk/common/payment_source_type.rb
|
158
|
+
- lib/checkout_sdk/common/phone.rb
|
159
|
+
- lib/checkout_sdk/common/update_customer_request.rb
|
160
|
+
- lib/checkout_sdk/customers/customer_request.rb
|
161
|
+
- lib/checkout_sdk/customers/customers.rb
|
162
|
+
- lib/checkout_sdk/customers/customers_client.rb
|
163
|
+
- lib/checkout_sdk/disputes/dispute_evidence_request.rb
|
164
|
+
- lib/checkout_sdk/disputes/dispute_status.rb
|
165
|
+
- lib/checkout_sdk/disputes/disputes.rb
|
166
|
+
- lib/checkout_sdk/disputes/disputes_client.rb
|
167
|
+
- lib/checkout_sdk/disputes/disputes_query_filter.rb
|
168
|
+
- lib/checkout_sdk/environment.rb
|
169
|
+
- lib/checkout_sdk/error.rb
|
170
|
+
- lib/checkout_sdk/forex/forex.rb
|
171
|
+
- lib/checkout_sdk/forex/forex_client.rb
|
172
|
+
- lib/checkout_sdk/forex/quote_request.rb
|
173
|
+
- lib/checkout_sdk/http_metadata.rb
|
174
|
+
- lib/checkout_sdk/instruments/create/instrument_bank_account_request.rb
|
175
|
+
- lib/checkout_sdk/instruments/create/instrument_request.rb
|
176
|
+
- lib/checkout_sdk/instruments/create/instrument_token_request.rb
|
177
|
+
- lib/checkout_sdk/instruments/get/bank_account_field_query.rb
|
178
|
+
- lib/checkout_sdk/instruments/get/payment_network.rb
|
179
|
+
- lib/checkout_sdk/instruments/instruments.rb
|
180
|
+
- lib/checkout_sdk/instruments/instruments_client.rb
|
181
|
+
- lib/checkout_sdk/instruments/update/update_instrument_bank_account_request.rb
|
182
|
+
- lib/checkout_sdk/instruments/update/update_instrument_card_request.rb
|
183
|
+
- lib/checkout_sdk/instruments/update/update_instrument_request.rb
|
184
|
+
- lib/checkout_sdk/instruments/update/update_instrument_token_request.rb
|
185
|
+
- lib/checkout_sdk/json_serializer.rb
|
186
|
+
- lib/checkout_sdk/oauth_access_token.rb
|
187
|
+
- lib/checkout_sdk/oauth_scopes.rb
|
188
|
+
- lib/checkout_sdk/oauth_sdk_credentials.rb
|
189
|
+
- lib/checkout_sdk/payments/airline_data.rb
|
190
|
+
- lib/checkout_sdk/payments/authorization_request.rb
|
191
|
+
- lib/checkout_sdk/payments/authorization_type.rb
|
192
|
+
- lib/checkout_sdk/payments/billing_descriptor.rb
|
193
|
+
- lib/checkout_sdk/payments/capture_request.rb
|
194
|
+
- lib/checkout_sdk/payments/capture_type.rb
|
195
|
+
- lib/checkout_sdk/payments/charge_bearer.rb
|
196
|
+
- lib/checkout_sdk/payments/d_local_installments.rb
|
197
|
+
- lib/checkout_sdk/payments/d_local_processing_settings.rb
|
198
|
+
- lib/checkout_sdk/payments/destination/bank_account_destination.rb
|
199
|
+
- lib/checkout_sdk/payments/destination/card_destination.rb
|
200
|
+
- lib/checkout_sdk/payments/destination/destination.rb
|
201
|
+
- lib/checkout_sdk/payments/destination/destination_type.rb
|
202
|
+
- lib/checkout_sdk/payments/destination/id_destination.rb
|
203
|
+
- lib/checkout_sdk/payments/destination/token_destination.rb
|
204
|
+
- lib/checkout_sdk/payments/exemption.rb
|
205
|
+
- lib/checkout_sdk/payments/flight_leg_details.rb
|
206
|
+
- lib/checkout_sdk/payments/instruction_scheme.rb
|
207
|
+
- lib/checkout_sdk/payments/merchant_initiated_reason.rb
|
208
|
+
- lib/checkout_sdk/payments/network_token_type.rb
|
209
|
+
- lib/checkout_sdk/payments/os_type.rb
|
210
|
+
- lib/checkout_sdk/payments/passenger.rb
|
211
|
+
- lib/checkout_sdk/payments/passenger_name.rb
|
212
|
+
- lib/checkout_sdk/payments/payer.rb
|
213
|
+
- lib/checkout_sdk/payments/payment_instruction.rb
|
214
|
+
- lib/checkout_sdk/payments/payment_recipient.rb
|
215
|
+
- lib/checkout_sdk/payments/payment_request.rb
|
216
|
+
- lib/checkout_sdk/payments/payment_type.rb
|
217
|
+
- lib/checkout_sdk/payments/payments.rb
|
218
|
+
- lib/checkout_sdk/payments/payments_client.rb
|
219
|
+
- lib/checkout_sdk/payments/payout_billing_descriptor.rb
|
220
|
+
- lib/checkout_sdk/payments/payout_request.rb
|
221
|
+
- lib/checkout_sdk/payments/preferred_schema.rb
|
222
|
+
- lib/checkout_sdk/payments/processing_settings.rb
|
223
|
+
- lib/checkout_sdk/payments/product.rb
|
224
|
+
- lib/checkout_sdk/payments/product_type.rb
|
225
|
+
- lib/checkout_sdk/payments/refund_request.rb
|
226
|
+
- lib/checkout_sdk/payments/risk_request.rb
|
227
|
+
- lib/checkout_sdk/payments/sender/corporate_sender.rb
|
228
|
+
- lib/checkout_sdk/payments/sender/government_sender.rb
|
229
|
+
- lib/checkout_sdk/payments/sender/individual_sender.rb
|
230
|
+
- lib/checkout_sdk/payments/sender/instrument_sender.rb
|
231
|
+
- lib/checkout_sdk/payments/sender/sender.rb
|
232
|
+
- lib/checkout_sdk/payments/sender/sender_type.rb
|
233
|
+
- lib/checkout_sdk/payments/sender/source_of_funds.rb
|
234
|
+
- lib/checkout_sdk/payments/sender/ticket.rb
|
235
|
+
- lib/checkout_sdk/payments/shipping_details.rb
|
236
|
+
- lib/checkout_sdk/payments/shipping_preference.rb
|
237
|
+
- lib/checkout_sdk/payments/source/apm/after_pay_source.rb
|
238
|
+
- lib/checkout_sdk/payments/source/apm/alipay_plus_source.rb
|
239
|
+
- lib/checkout_sdk/payments/source/apm/bancontact_source.rb
|
240
|
+
- lib/checkout_sdk/payments/source/apm/benefit_source.rb
|
241
|
+
- lib/checkout_sdk/payments/source/apm/eps_source.rb
|
242
|
+
- lib/checkout_sdk/payments/source/apm/giropay_source.rb
|
243
|
+
- lib/checkout_sdk/payments/source/apm/ideal_source.rb
|
244
|
+
- lib/checkout_sdk/payments/source/apm/knet_source.rb
|
245
|
+
- lib/checkout_sdk/payments/source/apm/mbway_source.rb
|
246
|
+
- lib/checkout_sdk/payments/source/apm/multi_banco_source.rb
|
247
|
+
- lib/checkout_sdk/payments/source/apm/p24_source.rb
|
248
|
+
- lib/checkout_sdk/payments/source/apm/paypal_source.rb
|
249
|
+
- lib/checkout_sdk/payments/source/apm/post_finance_source.rb
|
250
|
+
- lib/checkout_sdk/payments/source/apm/qpay_source.rb
|
251
|
+
- lib/checkout_sdk/payments/source/apm/sofort_source.rb
|
252
|
+
- lib/checkout_sdk/payments/source/apm/stcpay_source.rb
|
253
|
+
- lib/checkout_sdk/payments/source/apm/tamara_source.rb
|
254
|
+
- lib/checkout_sdk/payments/source/apm/we_chat_pay_source.rb
|
255
|
+
- lib/checkout_sdk/payments/source/bank_account_source.rb
|
256
|
+
- lib/checkout_sdk/payments/source/card_source.rb
|
257
|
+
- lib/checkout_sdk/payments/source/currency_account_source.rb
|
258
|
+
- lib/checkout_sdk/payments/source/id_source.rb
|
259
|
+
- lib/checkout_sdk/payments/source/network_token_source.rb
|
260
|
+
- lib/checkout_sdk/payments/source/payment_request_source.rb
|
261
|
+
- lib/checkout_sdk/payments/source/payout_request_source.rb
|
262
|
+
- lib/checkout_sdk/payments/source/payout_source_type.rb
|
263
|
+
- lib/checkout_sdk/payments/source/provider_token_source.rb
|
264
|
+
- lib/checkout_sdk/payments/source/token_source.rb
|
265
|
+
- lib/checkout_sdk/payments/terminal_type.rb
|
266
|
+
- lib/checkout_sdk/payments/three_ds_flow_type.rb
|
267
|
+
- lib/checkout_sdk/payments/three_ds_request.rb
|
268
|
+
- lib/checkout_sdk/payments/user_action.rb
|
269
|
+
- lib/checkout_sdk/payments/void_request.rb
|
270
|
+
- lib/checkout_sdk/platform_type.rb
|
271
|
+
- lib/checkout_sdk/previous/checkout_api.rb
|
272
|
+
- lib/checkout_sdk/previous/checkout_previous_sdk_builder.rb
|
273
|
+
- lib/checkout_sdk/previous/checkout_previous_static_keys_sdk_builder.rb
|
274
|
+
- lib/checkout_sdk/previous/previous_static_keys_sdk_credentials.rb
|
275
|
+
- lib/checkout_sdk/sdk_authorization.rb
|
276
|
+
- lib/checkout_sdk/sdk_credentials.rb
|
277
|
+
- lib/checkout_sdk/sessions/authentication_method.rb
|
278
|
+
- lib/checkout_sdk/sessions/authentication_type.rb
|
279
|
+
- lib/checkout_sdk/sessions/card_holder_account_info.rb
|
280
|
+
- lib/checkout_sdk/sessions/category.rb
|
281
|
+
- lib/checkout_sdk/sessions/channel/app_session.rb
|
282
|
+
- lib/checkout_sdk/sessions/channel/browser_session.rb
|
283
|
+
- lib/checkout_sdk/sessions/channel/channel_data.rb
|
284
|
+
- lib/checkout_sdk/sessions/channel/channel_data_type.rb
|
285
|
+
- lib/checkout_sdk/sessions/channel/sdk_ephemeral_public_key.rb
|
286
|
+
- lib/checkout_sdk/sessions/channel/sdk_interface_type.rb
|
287
|
+
- lib/checkout_sdk/sessions/channel/three_ds_method_completion.rb
|
288
|
+
- lib/checkout_sdk/sessions/channel/uie_elements.rb
|
289
|
+
- lib/checkout_sdk/sessions/completion/completion_info.rb
|
290
|
+
- lib/checkout_sdk/sessions/completion/completion_info_type.rb
|
291
|
+
- lib/checkout_sdk/sessions/completion/hosted_completion_info.rb
|
292
|
+
- lib/checkout_sdk/sessions/completion/non_hosted_completion_info.rb
|
293
|
+
- lib/checkout_sdk/sessions/delivery_timeframe.rb
|
294
|
+
- lib/checkout_sdk/sessions/installment.rb
|
295
|
+
- lib/checkout_sdk/sessions/merchant_risk_info.rb
|
296
|
+
- lib/checkout_sdk/sessions/recurring.rb
|
297
|
+
- lib/checkout_sdk/sessions/session_address.rb
|
298
|
+
- lib/checkout_sdk/sessions/session_marketplace_data.rb
|
299
|
+
- lib/checkout_sdk/sessions/session_request.rb
|
300
|
+
- lib/checkout_sdk/sessions/session_secret_credentials.rb
|
301
|
+
- lib/checkout_sdk/sessions/session_source_type.rb
|
302
|
+
- lib/checkout_sdk/sessions/sessions.rb
|
303
|
+
- lib/checkout_sdk/sessions/sessions_billing_descriptor.rb
|
304
|
+
- lib/checkout_sdk/sessions/sessions_client.rb
|
305
|
+
- lib/checkout_sdk/sessions/shipping_indicator.rb
|
306
|
+
- lib/checkout_sdk/sessions/source/card_source.rb
|
307
|
+
- lib/checkout_sdk/sessions/source/id_source.rb
|
308
|
+
- lib/checkout_sdk/sessions/source/network_token_source.rb
|
309
|
+
- lib/checkout_sdk/sessions/source/session_scheme.rb
|
310
|
+
- lib/checkout_sdk/sessions/source/session_source.rb
|
311
|
+
- lib/checkout_sdk/sessions/source/token_source.rb
|
312
|
+
- lib/checkout_sdk/sessions/three_ds_method_completion_request.rb
|
313
|
+
- lib/checkout_sdk/sessions/transaction_type.rb
|
314
|
+
- lib/checkout_sdk/static_keys_builder.rb
|
315
|
+
- lib/checkout_sdk/static_keys_sdk_credentials.rb
|
316
|
+
- lib/checkout_sdk/tokens/apple_pay_token_data.rb
|
317
|
+
- lib/checkout_sdk/tokens/apple_pay_token_request.rb
|
318
|
+
- lib/checkout_sdk/tokens/card_token_request.rb
|
319
|
+
- lib/checkout_sdk/tokens/google_pay_token_data.rb
|
320
|
+
- lib/checkout_sdk/tokens/google_pay_token_request.rb
|
321
|
+
- lib/checkout_sdk/tokens/token_type.rb
|
322
|
+
- lib/checkout_sdk/tokens/tokens.rb
|
323
|
+
- lib/checkout_sdk/tokens/tokens_client.rb
|
324
|
+
- lib/checkout_sdk/tokens/wallet_token_request.rb
|
151
325
|
- lib/checkout_sdk/version.rb
|
152
|
-
-
|
153
|
-
|
154
|
-
- spec/checkout_sdk/data/request_token_spec.rb
|
155
|
-
- spec/checkout_sdk_spec.rb
|
156
|
-
- spec/spec_helper.rb
|
157
|
-
homepage: http://checkout.com
|
326
|
+
- sig/checkout_sdk.rbs
|
327
|
+
homepage: https://www.checkout.com/
|
158
328
|
licenses:
|
159
329
|
- MIT
|
160
|
-
metadata:
|
330
|
+
metadata:
|
331
|
+
homepage_uri: https://www.checkout.com/
|
332
|
+
source_code_uri: https://github.com/checkout/checkout-sdk-ruby
|
333
|
+
documentation_uri: https://www.checkout.com/docs
|
161
334
|
post_install_message:
|
162
335
|
rdoc_options: []
|
163
336
|
require_paths:
|
@@ -166,15 +339,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
339
|
requirements:
|
167
340
|
- - ">="
|
168
341
|
- !ruby/object:Gem::Version
|
169
|
-
version:
|
342
|
+
version: 2.6.0
|
170
343
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
344
|
requirements:
|
172
|
-
- - "
|
345
|
+
- - ">"
|
173
346
|
- !ruby/object:Gem::Version
|
174
|
-
version:
|
347
|
+
version: 1.3.1
|
175
348
|
requirements: []
|
176
|
-
rubygems_version: 3.0.3
|
349
|
+
rubygems_version: 3.0.3.1
|
177
350
|
signing_key:
|
178
351
|
specification_version: 4
|
179
|
-
summary:
|
352
|
+
summary: Ruby wrapper for Checkout API
|
180
353
|
test_files: []
|