-
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 (#152)
- Loading branch information
1 parent
99cd7b0
commit 7ca3887
Showing
76 changed files
with
990 additions
and
60 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,6 +1,7 @@ | ||
*.DS_Store | ||
*.lock | ||
|
||
/vendor/ | ||
/.bundle/ | ||
/.yardoc | ||
/_yardoc/ | ||
|
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,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,14 @@ | ||
# 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 |
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 ProofOfPrincipalAddressType | ||
PROOF_OF_ADDRESS = 'proof_of_address' | ||
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 [ShareholderStructureType] | ||
# @!attribute front | ||
# @return [String] | ||
class ShareholderStructure | ||
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 ShareholderStructureType | ||
CERTIFIED_SHAREHOLDER_STRUCTURE = 'certified_shareholder_structure' | ||
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,12 @@ | ||
# frozen_string_literal: true | ||
|
||
module CheckoutSdk | ||
module Common | ||
class AccountChangeIndicatorType | ||
THIS_TRANSACTION = 'this_transaction' | ||
LESS_THAN_THIRTY_DAYS = 'less_than_thirty_days' | ||
THIRTY_TO_SIXTY_DAYS = 'thirty_to_sixty_days' | ||
MORE_THAN_SIXTY_DAYS = 'more_than_sixty_days' | ||
end | ||
end | ||
end |
Oops, something went wrong.