From 23cc5d4666972eb0a2e643329f2f1e8eb1c1c8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20Rodr=C3=ADguez?= <127134616+armando-rodriguez-cko@users.noreply.github.com> Date: Tue, 19 Mar 2024 14:56:12 +0100 Subject: [PATCH] Updating onboard entity requests --- lib/checkout_sdk/accounts/entity_financial_details.rb | 5 ++++- lib/checkout_sdk/accounts/individual.rb | 5 ++++- lib/checkout_sdk/accounts/representative.rb | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/lib/checkout_sdk/accounts/entity_financial_details.rb b/lib/checkout_sdk/accounts/entity_financial_details.rb index fd5b751..2cf9967 100644 --- a/lib/checkout_sdk/accounts/entity_financial_details.rb +++ b/lib/checkout_sdk/accounts/entity_financial_details.rb @@ -10,11 +10,14 @@ module Accounts # @return [Integer] # @!attribute documents # @return [EntityFinancialDocuments] + # @!attribute currency + # @return [String] {CheckoutSdk::Common::Currency} class EntityFinancialDetails attr_accessor :annual_processing_volume, :average_transaction_value, :highest_transaction_value, - :documents + :documents, + :currency end end end diff --git a/lib/checkout_sdk/accounts/individual.rb b/lib/checkout_sdk/accounts/individual.rb index 48493fe..2e29556 100644 --- a/lib/checkout_sdk/accounts/individual.rb +++ b/lib/checkout_sdk/accounts/individual.rb @@ -22,6 +22,8 @@ module Accounts # @return [PlaceOfBirth] # @!attribute identification # @return [Identification] + # @!attribute financial_details + # @return [EntityFinancialDetails] class Individual attr_accessor :first_name, :middle_name, @@ -32,7 +34,8 @@ class Individual :registered_address, :date_of_birth, :place_of_birth, - :identification + :identification, + :financial_details end end end diff --git a/lib/checkout_sdk/accounts/representative.rb b/lib/checkout_sdk/accounts/representative.rb index 1e19efb..c17700f 100644 --- a/lib/checkout_sdk/accounts/representative.rb +++ b/lib/checkout_sdk/accounts/representative.rb @@ -20,6 +20,8 @@ module Accounts # @return [PlaceOfBirth] # @!attribute roles # @return [Array(String)] + # @!attribute documents + # @return [OnboardSubEntityDocuments] class Representative attr_accessor :id, :first_name, @@ -29,7 +31,8 @@ class Representative :phone, :date_of_birth, :place_of_birth, - :roles + :roles, + :documents end end end