-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VISA, Paypal source, Partial Auth and account_holder updates
- Loading branch information
1 parent
99cd7b0
commit f17f358
Showing
75 changed files
with
1,021 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,59 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'checkout_sdk/accounts/update_schedule' | ||
require 'checkout_sdk/accounts/instrument_document' | ||
require 'checkout_sdk/accounts/schedule_frequency_type' | ||
require 'checkout_sdk/accounts/identification' | ||
require 'checkout_sdk/accounts/document' | ||
require 'checkout_sdk/accounts/individual' | ||
require 'checkout_sdk/accounts/business_type' | ||
require 'checkout_sdk/accounts/account_holder' | ||
require 'checkout_sdk/accounts/entity_financial_details' | ||
require 'checkout_sdk/accounts/file_request' | ||
require 'checkout_sdk/accounts/date_of_birth' | ||
require 'checkout_sdk/accounts/onboard_entity' | ||
require 'checkout_sdk/accounts/representative' | ||
require 'checkout_sdk/accounts/place_of_birth' | ||
require 'checkout_sdk/accounts/payment_instrument' | ||
require 'checkout_sdk/accounts/entity_document' | ||
require 'checkout_sdk/accounts/profile' | ||
require 'checkout_sdk/accounts/accounts_client' | ||
require 'checkout_sdk/accounts/entity_financial_documents' | ||
require 'checkout_sdk/accounts/document_type' | ||
require 'checkout_sdk/accounts/additional_document' | ||
require 'checkout_sdk/accounts/additional_info' | ||
require 'checkout_sdk/accounts/articles_of_association_type' | ||
require 'checkout_sdk/accounts/bank_verification' | ||
require 'checkout_sdk/accounts/bank_verification_type' | ||
require 'checkout_sdk/accounts/business_type' | ||
require 'checkout_sdk/accounts/company' | ||
require 'checkout_sdk/accounts/phone' | ||
require 'checkout_sdk/accounts/company_verification' | ||
require 'checkout_sdk/accounts/company_verification_type' | ||
require 'checkout_sdk/accounts/contact_details' | ||
require 'checkout_sdk/accounts/date_of_birth' | ||
require 'checkout_sdk/accounts/date_of_incorporation' | ||
require 'checkout_sdk/accounts/document' | ||
require 'checkout_sdk/accounts/document_type' | ||
require 'checkout_sdk/accounts/entity_document' | ||
require 'checkout_sdk/accounts/entity_email_addresses' | ||
require 'checkout_sdk/accounts/schedule_request' | ||
require 'checkout_sdk/accounts/schedule_frequency_weekly' | ||
require 'checkout_sdk/accounts/schedule_frequency_daily' | ||
require 'checkout_sdk/accounts/schedule_frequency_monthly' | ||
require 'checkout_sdk/accounts/entity_financial_details' | ||
require 'checkout_sdk/accounts/entity_financial_documents' | ||
require 'checkout_sdk/accounts/file_request' | ||
require 'checkout_sdk/accounts/financial_verification' | ||
require 'checkout_sdk/accounts/financial_verification_type' | ||
require 'checkout_sdk/accounts/headers' | ||
require 'checkout_sdk/accounts/identification' | ||
require 'checkout_sdk/accounts/individual' | ||
require 'checkout_sdk/accounts/instrument_details' | ||
require 'checkout_sdk/accounts/instrument_details_card_token' | ||
require 'checkout_sdk/accounts/instrument_details_faster_payments' | ||
require 'checkout_sdk/accounts/instrument_details_sepa' | ||
require 'checkout_sdk/accounts/instrument_details_card_token' | ||
require 'checkout_sdk/accounts/instrument_document' | ||
require 'checkout_sdk/accounts/invitee' | ||
require 'checkout_sdk/accounts/onboard_entity' | ||
require 'checkout_sdk/accounts/onboard_sub_entity_documents' | ||
require 'checkout_sdk/accounts/payment_instrument' | ||
require 'checkout_sdk/accounts/payment_instrument_request' | ||
require 'checkout_sdk/accounts/payment_instruments_query' | ||
require 'checkout_sdk/accounts/headers' | ||
require 'checkout_sdk/accounts/phone' | ||
require 'checkout_sdk/accounts/place_of_birth' | ||
require 'checkout_sdk/accounts/processing_details' | ||
require 'checkout_sdk/accounts/profile' | ||
require 'checkout_sdk/accounts/proof_of_legality' | ||
require 'checkout_sdk/accounts/proof_of_legality_type' | ||
require 'checkout_sdk/accounts/proof_of_principal_address' | ||
require 'checkout_sdk/accounts/proof_of_principal_address_type' | ||
require 'checkout_sdk/accounts/representative' | ||
require 'checkout_sdk/accounts/schedule_frequency_daily' | ||
require 'checkout_sdk/accounts/schedule_frequency_monthly' | ||
require 'checkout_sdk/accounts/schedule_frequency_type' | ||
require 'checkout_sdk/accounts/schedule_frequency_weekly' | ||
require 'checkout_sdk/accounts/schedule_request' | ||
require 'checkout_sdk/accounts/shareholder_structure' | ||
require 'checkout_sdk/accounts/shareholder_structure_type' | ||
require 'checkout_sdk/accounts/tax_verification' | ||
require 'checkout_sdk/accounts/tax_verification_type' | ||
require 'checkout_sdk/accounts/update_payment_instrument_request' | ||
require 'checkout_sdk/accounts/update_schedule' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
# @!attribute front | ||
# @return [String] | ||
class AdditionalDocument | ||
attr_accessor :front | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
# @!attribute field1 | ||
# @return [String] | ||
# @!attribute field2 | ||
# @return [String] | ||
# @!attribute field3 | ||
# @return [String] | ||
class AdditionalInfo | ||
attr_accessor :field1, | ||
:field2, | ||
:field3 | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
module ArticlesOfAssociationType | ||
MEMORANDUM_OF_ASSOCIATION = "memorandum_of_association" | ||
ARTICLES_OF_ASSOCIATION = "articles_of_association" | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
# @!attribute type | ||
# @return [BankVerificationType] | ||
# @!attribute front | ||
# @return [String] | ||
class BankVerification | ||
attr_accessor :type, | ||
:front | ||
|
||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
module BankVerificationType | ||
BANK_STATEMENT = 'bank_statement' | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
# @!attribute month | ||
# @return [Integer] | ||
# @!attribute year | ||
# @return [Integer] | ||
class DateOfIncorporation | ||
attr_reader :month, | ||
:year | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
# @!attribute type | ||
# @return [FinancialVerificationType] | ||
# @!attribute front | ||
# @return [String] | ||
class FinancialVerification | ||
attr_reader :type, | ||
:front | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
module FinancialVerificationType | ||
FINANCIAL_STATEMENT = 'financial_statement' | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
# @!attribute email | ||
# @return [String] | ||
class Invitee | ||
attr_accessor :email | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
# @!attribute settlement_country | ||
# @return [String] | ||
# @!attribute target_countries | ||
# @return [Array(String)] | ||
# @!attribute annual_processing_volume | ||
# @return [Integer] | ||
# @!attribute average_transaction_value | ||
# @return [Integer] | ||
# @!attribute highest_transaction_value | ||
# @return [Integer] | ||
# @!attribute currency | ||
# @return [CheckoutSdk::Common::Currency] | ||
class ProcessingDetails | ||
attr_accessor :settlement_country, | ||
:target_countries, | ||
:annual_processing_volume, | ||
:average_transaction_value, | ||
:highest_transaction_value, | ||
:currency | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
# @!attribute type | ||
# @return [ProofOfLegalityType] | ||
# @!attribute front | ||
# @return [String] | ||
class ProofOfLegality | ||
attr_accessor :type, | ||
:front | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
module ProofOfLegalityType | ||
PROOF_OF_LEGALITY = 'proof_of_legality' | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Accounts | ||
# @!attribute type | ||
# @return [ProofOfPrincipalAddressType] | ||
# @!attribute front | ||
# @return [String] | ||
class ProofOfPrincipalAddress | ||
attr_reader :type, | ||
:front | ||
end | ||
end | ||
end |
Oops, something went wrong.