Class: CheckoutSdk::CheckoutApi
- Inherits:
-
Object
- Object
- CheckoutSdk::CheckoutApi
- Defined in:
- lib/checkout_sdk/checkout_api.rb
Instance Attribute Summary collapse
- #accounts ⇒ CheckoutSdk::Accounts::AccountsClient
- #balances ⇒ CheckoutSdk::Balances::BalancesClient
- #contexts ⇒ CheckoutSdk::Payments::PaymentContextsClient
- #customers ⇒ CheckoutSdk::Customers::CustomersClient
- #disputes ⇒ CheckoutSdk::Disputes::DisputesClient
- #financial ⇒ CheckoutSdk::Financial::FinancialClient
- #flow ⇒ CheckoutSdk::Payments::FlowClient
- #forex ⇒ CheckoutSdk::Forex::ForexClient
- #forward ⇒ CheckoutSdk::Forward::ForwardClient
- #hosted ⇒ CheckoutSdk::Payments::HostedPaymentsClient
- #ideal ⇒ CheckoutSdk::Apm::IdealClient
- #instruments ⇒ CheckoutSdk::Instruments::InstrumentsClient
- #issuing ⇒ CheckoutSdk::Issuing::IssuingClient
- #links ⇒ CheckoutSdk::Payments::PaymentsLinksClient
- #metadata ⇒ CheckoutSdk::Metadata::MetadataClient
- #payment_sessions ⇒ CheckoutSdk::Payments::PaymentSessionsClient
- #payments ⇒ CheckoutSdk::Payments::PaymentsClient
- #payments_setups ⇒ CheckoutSdk::Payments::PaymentSetupsClient
- #reports ⇒ CheckoutSdk::Reports::ReportsClient
- #risk ⇒ CheckoutSdk::Risk::RiskClient
- #sessions ⇒ CheckoutSdk::Sessions::SessionsClient
- #tokens ⇒ CheckoutSdk::Tokens::TokensClient
- #transfers ⇒ CheckoutSdk::Transfers::TransfersClient
- #workflows ⇒ CheckoutSdk::Workflows::WorkflowsClient
Instance Method Summary collapse
-
#initialize(configuration) ⇒ CheckoutApi
constructor
A new instance of CheckoutApi.
Constructor Details
#initialize(configuration) ⇒ CheckoutApi
Returns a new instance of CheckoutApi.
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 79 def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end |
Instance Attribute Details
#accounts ⇒ CheckoutSdk::Accounts::AccountsClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#balances ⇒ CheckoutSdk::Balances::BalancesClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#contexts ⇒ CheckoutSdk::Payments::PaymentContextsClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#customers ⇒ CheckoutSdk::Customers::CustomersClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#disputes ⇒ CheckoutSdk::Disputes::DisputesClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#financial ⇒ CheckoutSdk::Financial::FinancialClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#flow ⇒ CheckoutSdk::Payments::FlowClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#forex ⇒ CheckoutSdk::Forex::ForexClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#forward ⇒ CheckoutSdk::Forward::ForwardClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#hosted ⇒ CheckoutSdk::Payments::HostedPaymentsClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#ideal ⇒ CheckoutSdk::Apm::IdealClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#instruments ⇒ CheckoutSdk::Instruments::InstrumentsClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#issuing ⇒ CheckoutSdk::Issuing::IssuingClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#links ⇒ CheckoutSdk::Payments::PaymentsLinksClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#metadata ⇒ CheckoutSdk::Metadata::MetadataClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#payment_sessions ⇒ CheckoutSdk::Payments::PaymentSessionsClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#payments ⇒ CheckoutSdk::Payments::PaymentsClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#payments_setups ⇒ CheckoutSdk::Payments::PaymentSetupsClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#reports ⇒ CheckoutSdk::Reports::ReportsClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#risk ⇒ CheckoutSdk::Risk::RiskClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#sessions ⇒ CheckoutSdk::Sessions::SessionsClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#tokens ⇒ CheckoutSdk::Tokens::TokensClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#transfers ⇒ CheckoutSdk::Transfers::TransfersClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |
#workflows ⇒ CheckoutSdk::Workflows::WorkflowsClient
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 |
# File 'lib/checkout_sdk/checkout_api.rb', line 52 class CheckoutApi attr_reader :customers, :disputes, :forex, :hosted, :instruments, :links, :payments, :payments_setups, :flow, :reports, :sessions, :tokens, :ideal, :accounts, :workflows, :risk, :balances, :transfers, :metadata, :financial, :issuing, :contexts, :payment_sessions, :forward # @param [CheckoutConfiguration] configuration def initialize(configuration) api_client = base_api_client configuration @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration) @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration) @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration) @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration) end private # @param [CheckoutConfiguration] configuration # @return [ApiClient] def base_api_client(configuration) base_uri = configuration.environment.base_uri subdomain = configuration.environment_subdomain base_uri = subdomain.base_uri if subdomain&.base_uri ApiClient.new(configuration, base_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def files_client(configuration) ApiClient.new(configuration, configuration.environment.files_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def balances_client(configuration) ApiClient.new(configuration, configuration.environment.balances_uri) end # @param [CheckoutConfiguration] configuration # @return [ApiClient] def transfers_client(configuration) ApiClient.new(configuration, configuration.environment.transfers_uri) end end |