diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f67548bd..241cecef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,14 @@ name: CI on: push: - branches-ignore: - - 'generated' - - 'codegen/**' - - 'integrated/**' - - 'stl-preview-head/**' - - 'stl-preview-base/**' + branches: + - '**' + - '!integrated/**' + - '!stl-preview-head/**' + - '!stl-preview-base/**' + - '!generated' + - '!codegen/**' + - 'codegen/stl/**' pull_request: branches-ignore: - 'stl-preview-head/**' diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6538ca91..6d78745c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.8.0" + ".": "0.9.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 6976609b..b655e630 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 190 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-e88a4837037207e9591d48d534bd61acca57ca6e7c59ec0d4fdcf6e05288cc6d.yml -openapi_spec_hash: fd8bbc173d1b6dafd117fb1a3a3d446c -config_hash: 3005e2502301e77754e5e1455584525b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-5bb8d2bedef02f07498de3f252fa6da1393d2fb59f727b05828804cea9aded30.yml +openapi_spec_hash: d1f260252b3bb7ebc77fa7134db6c65d +config_hash: 400b9afe0f7f7b7d96177d05950775f9 diff --git a/CHANGELOG.md b/CHANGELOG.md index 69ffbc3b..f0314a87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## 0.9.0 (2026-03-17) + +Full Changelog: [v0.8.0...v0.9.0](https://github.com/lithic-com/lithic-ruby/compare/v0.8.0...v0.9.0) + +### Features + +* **api:** add remittance_information field to payment wire method attributes ([100269f](https://github.com/lithic-com/lithic-ruby/commit/100269f1b5978d70bb1349ec194ecb960ded5e10)) + + +### Bug Fixes + +* **types:** make first_name/last_name required in account holder beneficial owner/control person ([8925468](https://github.com/lithic-com/lithic-ruby/commit/892546852aadf3b3442879869f7b0c2059bcbb4c)) + + +### Chores + +* **internal:** tweak CI branches ([6cd6af9](https://github.com/lithic-com/lithic-ruby/commit/6cd6af964276e2a5d921dc2efcb1e30aab3c1212)) + + +### Documentation + +* **api:** add pdf to supported file types in account_holders ([cc89c60](https://github.com/lithic-com/lithic-ruby/commit/cc89c60c821f98d9ed8602acf255e627a5d663af)) + ## 0.8.0 (2026-03-16) Full Changelog: [v0.7.0...v0.8.0](https://github.com/lithic-com/lithic-ruby/compare/v0.7.0...v0.8.0) diff --git a/Gemfile.lock b/Gemfile.lock index ca622871..d319dc03 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - lithic (0.8.0) + lithic (0.9.0) cgi connection_pool diff --git a/README.md b/README.md index 61a6642e..96293004 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "lithic", "~> 0.8.0" +gem "lithic", "~> 0.9.0" ``` diff --git a/lib/lithic/models/account_holder_create_params.rb b/lib/lithic/models/account_holder_create_params.rb index 6f62f079..fae58697 100644 --- a/lib/lithic/models/account_holder_create_params.rb +++ b/lib/lithic/models/account_holder_create_params.rb @@ -187,31 +187,37 @@ class BusinessEntity < Lithic::Internal::Type::BaseModel end class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel + # @!attribute first_name + # Individual's first name, as it appears on government-issued identity documents. + # + # @return [String] + required :first_name, String + + # @!attribute last_name + # Individual's last name, as it appears on government-issued identity documents. + # + # @return [String] + required :last_name, String + # @!attribute address # Individual's current address - PO boxes, UPS drops, and FedEx drops are not # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported. # - # @return [Lithic::Models::Address] - required :address, -> { Lithic::Address } + # @return [Lithic::Models::Address, nil] + optional :address, -> { Lithic::Address } # @!attribute dob # Individual's date of birth, as an RFC 3339 date. # - # @return [String] - required :dob, String + # @return [String, nil] + optional :dob, String # @!attribute email # Individual's email address. If utilizing Lithic for chargeback processing, this # customer email address may be used to communicate dispute status and resolution. # - # @return [String] - required :email, String - - # @!attribute first_name - # Individual's first name, as it appears on government-issued identity documents. - # - # @return [String] - required :first_name, String + # @return [String, nil] + optional :email, String # @!attribute government_id # Government-issued identification number (required for identity verification and @@ -219,14 +225,8 @@ class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel # Individual Taxpayer Identification Numbers (ITIN) are currently supported, # entered as full nine-digits, with or without hyphens # - # @return [String] - required :government_id, String - - # @!attribute last_name - # Individual's last name, as it appears on government-issued identity documents. - # - # @return [String] - required :last_name, String + # @return [String, nil] + optional :government_id, String # @!attribute phone_number # Individual's phone number, entered in E.164 format. @@ -234,12 +234,17 @@ class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel # @return [String, nil] optional :phone_number, String - # @!method initialize(address:, dob:, email:, first_name:, government_id:, last_name:, phone_number: nil) + # @!method initialize(first_name:, last_name:, address: nil, dob: nil, email: nil, government_id: nil, phone_number: nil) # Some parameter documentations has been truncated, see # {Lithic::Models::AccountHolderCreateParams::Body::KYBDelegated::BeneficialOwnerIndividual} # for more details. # - # Individuals associated with a KYB application. Phone number is optional. + # Individuals associated with a KYB_DELEGATED application. Only first and last + # name are required. + # + # @param first_name [String] Individual's first name, as it appears on government-issued identity documents. + # + # @param last_name [String] Individual's last name, as it appears on government-issued identity documents. # # @param address [Lithic::Models::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce # @@ -247,42 +252,44 @@ class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel # # @param email [String] Individual's email address. # - # @param first_name [String] Individual's first name, as it appears on government-issued identity documents. - # # @param government_id [String] Government-issued identification number (required for identity verification and # - # @param last_name [String] Individual's last name, as it appears on government-issued identity documents. - # # @param phone_number [String] Individual's phone number, entered in E.164 format. end # @see Lithic::Models::AccountHolderCreateParams::Body::KYBDelegated#control_person class ControlPerson < Lithic::Internal::Type::BaseModel + # @!attribute first_name + # Individual's first name, as it appears on government-issued identity documents. + # + # @return [String] + required :first_name, String + + # @!attribute last_name + # Individual's last name, as it appears on government-issued identity documents. + # + # @return [String] + required :last_name, String + # @!attribute address # Individual's current address - PO boxes, UPS drops, and FedEx drops are not # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported. # - # @return [Lithic::Models::Address] - required :address, -> { Lithic::Address } + # @return [Lithic::Models::Address, nil] + optional :address, -> { Lithic::Address } # @!attribute dob # Individual's date of birth, as an RFC 3339 date. # - # @return [String] - required :dob, String + # @return [String, nil] + optional :dob, String # @!attribute email # Individual's email address. If utilizing Lithic for chargeback processing, this # customer email address may be used to communicate dispute status and resolution. # - # @return [String] - required :email, String - - # @!attribute first_name - # Individual's first name, as it appears on government-issued identity documents. - # - # @return [String] - required :first_name, String + # @return [String, nil] + optional :email, String # @!attribute government_id # Government-issued identification number (required for identity verification and @@ -290,14 +297,8 @@ class ControlPerson < Lithic::Internal::Type::BaseModel # Individual Taxpayer Identification Numbers (ITIN) are currently supported, # entered as full nine-digits, with or without hyphens # - # @return [String] - required :government_id, String - - # @!attribute last_name - # Individual's last name, as it appears on government-issued identity documents. - # - # @return [String] - required :last_name, String + # @return [String, nil] + optional :government_id, String # @!attribute phone_number # Individual's phone number, entered in E.164 format. @@ -305,7 +306,7 @@ class ControlPerson < Lithic::Internal::Type::BaseModel # @return [String, nil] optional :phone_number, String - # @!method initialize(address:, dob:, email:, first_name:, government_id:, last_name:, phone_number: nil) + # @!method initialize(first_name:, last_name:, address: nil, dob: nil, email: nil, government_id: nil, phone_number: nil) # Some parameter documentations has been truncated, see # {Lithic::Models::AccountHolderCreateParams::Body::KYBDelegated::ControlPerson} # for more details. @@ -319,18 +320,18 @@ class ControlPerson < Lithic::Internal::Type::BaseModel # [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf) # (Section II) for more background. # + # @param first_name [String] Individual's first name, as it appears on government-issued identity documents. + # + # @param last_name [String] Individual's last name, as it appears on government-issued identity documents. + # # @param address [Lithic::Models::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce # # @param dob [String] Individual's date of birth, as an RFC 3339 date. # # @param email [String] Individual's email address. # - # @param first_name [String] Individual's first name, as it appears on government-issued identity documents. - # # @param government_id [String] Government-issued identification number (required for identity verification and # - # @param last_name [String] Individual's last name, as it appears on government-issued identity documents. - # # @param phone_number [String] Individual's phone number, entered in E.164 format. end diff --git a/lib/lithic/models/payment.rb b/lib/lithic/models/payment.rb index 0601c958..25b22bec 100644 --- a/lib/lithic/models/payment.rb +++ b/lib/lithic/models/payment.rb @@ -603,7 +603,13 @@ class WireMethodAttributes < Lithic::Internal::Type::BaseModel # @return [String, nil] optional :message_id, String, nil?: true - # @!method initialize(wire_message_type:, wire_network:, creditor: nil, debtor: nil, message_id: nil) + # @!attribute remittance_information + # Payment details or invoice reference + # + # @return [String, nil] + optional :remittance_information, String, nil?: true + + # @!method initialize(wire_message_type:, wire_network:, creditor: nil, debtor: nil, message_id: nil, remittance_information: nil) # Some parameter documentations has been truncated, see # {Lithic::Models::Payment::MethodAttributes::WireMethodAttributes} for more # details. @@ -617,6 +623,8 @@ class WireMethodAttributes < Lithic::Internal::Type::BaseModel # @param debtor [Lithic::Models::WirePartyDetails] # # @param message_id [String, nil] Point to point reference identifier, as assigned by the instructing party, used + # + # @param remittance_information [String, nil] Payment details or invoice reference # Type of wire transfer # diff --git a/lib/lithic/resources/account_holders.rb b/lib/lithic/resources/account_holders.rb index dd567716..3cab29b1 100644 --- a/lib/lithic/resources/account_holders.rb +++ b/lib/lithic/resources/account_holders.rb @@ -279,8 +279,8 @@ def simulate_enrollment_review(params = {}) # # This endpoint is only valid for evaluations in a `PENDING_DOCUMENT` state. # - # Uploaded images must either be a `jpg` or `png` file, and each must be less than - # 15 MiB. Once both required uploads have been successfully completed, your + # Supported file types include `jpg`, `png`, and `pdf`. Each file must be less + # than 15 MiB. Once both required uploads have been successfully completed, your # document will be run through KYC verification. # # If you have registered a webhook, you will receive evaluation updates for any diff --git a/lib/lithic/version.rb b/lib/lithic/version.rb index e8c3043e..207fe459 100644 --- a/lib/lithic/version.rb +++ b/lib/lithic/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Lithic - VERSION = "0.8.0" + VERSION = "0.9.0" end diff --git a/rbi/lithic/models/account_holder_create_params.rbi b/rbi/lithic/models/account_holder_create_params.rbi index e7b5fb23..fb82333d 100644 --- a/rbi/lithic/models/account_holder_create_params.rbi +++ b/rbi/lithic/models/account_holder_create_params.rbi @@ -395,37 +395,46 @@ module Lithic ) end + # Individual's first name, as it appears on government-issued identity documents. + sig { returns(String) } + attr_accessor :first_name + + # Individual's last name, as it appears on government-issued identity documents. + sig { returns(String) } + attr_accessor :last_name + # Individual's current address - PO boxes, UPS drops, and FedEx drops are not # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported. - sig { returns(Lithic::Address) } + sig { returns(T.nilable(Lithic::Address)) } attr_reader :address sig { params(address: Lithic::Address::OrHash).void } attr_writer :address # Individual's date of birth, as an RFC 3339 date. - sig { returns(String) } - attr_accessor :dob + sig { returns(T.nilable(String)) } + attr_reader :dob + + sig { params(dob: String).void } + attr_writer :dob # Individual's email address. If utilizing Lithic for chargeback processing, this # customer email address may be used to communicate dispute status and resolution. - sig { returns(String) } - attr_accessor :email + sig { returns(T.nilable(String)) } + attr_reader :email - # Individual's first name, as it appears on government-issued identity documents. - sig { returns(String) } - attr_accessor :first_name + sig { params(email: String).void } + attr_writer :email # Government-issued identification number (required for identity verification and # compliance with banking regulations). Social Security Numbers (SSN) and # Individual Taxpayer Identification Numbers (ITIN) are currently supported, # entered as full nine-digits, with or without hyphens - sig { returns(String) } - attr_accessor :government_id + sig { returns(T.nilable(String)) } + attr_reader :government_id - # Individual's last name, as it appears on government-issued identity documents. - sig { returns(String) } - attr_accessor :last_name + sig { params(government_id: String).void } + attr_writer :government_id # Individual's phone number, entered in E.164 format. sig { returns(T.nilable(String)) } @@ -434,36 +443,37 @@ module Lithic sig { params(phone_number: String).void } attr_writer :phone_number - # Individuals associated with a KYB application. Phone number is optional. + # Individuals associated with a KYB_DELEGATED application. Only first and last + # name are required. sig do params( + first_name: String, + last_name: String, address: Lithic::Address::OrHash, dob: String, email: String, - first_name: String, government_id: String, - last_name: String, phone_number: String ).returns(T.attached_class) end def self.new( + # Individual's first name, as it appears on government-issued identity documents. + first_name:, + # Individual's last name, as it appears on government-issued identity documents. + last_name:, # Individual's current address - PO boxes, UPS drops, and FedEx drops are not # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported. - address:, + address: nil, # Individual's date of birth, as an RFC 3339 date. - dob:, + dob: nil, # Individual's email address. If utilizing Lithic for chargeback processing, this # customer email address may be used to communicate dispute status and resolution. - email:, - # Individual's first name, as it appears on government-issued identity documents. - first_name:, + email: nil, # Government-issued identification number (required for identity verification and # compliance with banking regulations). Social Security Numbers (SSN) and # Individual Taxpayer Identification Numbers (ITIN) are currently supported, # entered as full nine-digits, with or without hyphens - government_id:, - # Individual's last name, as it appears on government-issued identity documents. - last_name:, + government_id: nil, # Individual's phone number, entered in E.164 format. phone_number: nil ) @@ -472,12 +482,12 @@ module Lithic sig do override.returns( { + first_name: String, + last_name: String, address: Lithic::Address, dob: String, email: String, - first_name: String, government_id: String, - last_name: String, phone_number: String } ) @@ -495,37 +505,46 @@ module Lithic ) end + # Individual's first name, as it appears on government-issued identity documents. + sig { returns(String) } + attr_accessor :first_name + + # Individual's last name, as it appears on government-issued identity documents. + sig { returns(String) } + attr_accessor :last_name + # Individual's current address - PO boxes, UPS drops, and FedEx drops are not # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported. - sig { returns(Lithic::Address) } + sig { returns(T.nilable(Lithic::Address)) } attr_reader :address sig { params(address: Lithic::Address::OrHash).void } attr_writer :address # Individual's date of birth, as an RFC 3339 date. - sig { returns(String) } - attr_accessor :dob + sig { returns(T.nilable(String)) } + attr_reader :dob + + sig { params(dob: String).void } + attr_writer :dob # Individual's email address. If utilizing Lithic for chargeback processing, this # customer email address may be used to communicate dispute status and resolution. - sig { returns(String) } - attr_accessor :email + sig { returns(T.nilable(String)) } + attr_reader :email - # Individual's first name, as it appears on government-issued identity documents. - sig { returns(String) } - attr_accessor :first_name + sig { params(email: String).void } + attr_writer :email # Government-issued identification number (required for identity verification and # compliance with banking regulations). Social Security Numbers (SSN) and # Individual Taxpayer Identification Numbers (ITIN) are currently supported, # entered as full nine-digits, with or without hyphens - sig { returns(String) } - attr_accessor :government_id + sig { returns(T.nilable(String)) } + attr_reader :government_id - # Individual's last name, as it appears on government-issued identity documents. - sig { returns(String) } - attr_accessor :last_name + sig { params(government_id: String).void } + attr_writer :government_id # Individual's phone number, entered in E.164 format. sig { returns(T.nilable(String)) } @@ -544,33 +563,33 @@ module Lithic # (Section II) for more background. sig do params( + first_name: String, + last_name: String, address: Lithic::Address::OrHash, dob: String, email: String, - first_name: String, government_id: String, - last_name: String, phone_number: String ).returns(T.attached_class) end def self.new( + # Individual's first name, as it appears on government-issued identity documents. + first_name:, + # Individual's last name, as it appears on government-issued identity documents. + last_name:, # Individual's current address - PO boxes, UPS drops, and FedEx drops are not # acceptable; APO/FPO are acceptable. Only USA addresses are currently supported. - address:, + address: nil, # Individual's date of birth, as an RFC 3339 date. - dob:, + dob: nil, # Individual's email address. If utilizing Lithic for chargeback processing, this # customer email address may be used to communicate dispute status and resolution. - email:, - # Individual's first name, as it appears on government-issued identity documents. - first_name:, + email: nil, # Government-issued identification number (required for identity verification and # compliance with banking regulations). Social Security Numbers (SSN) and # Individual Taxpayer Identification Numbers (ITIN) are currently supported, # entered as full nine-digits, with or without hyphens - government_id:, - # Individual's last name, as it appears on government-issued identity documents. - last_name:, + government_id: nil, # Individual's phone number, entered in E.164 format. phone_number: nil ) @@ -579,12 +598,12 @@ module Lithic sig do override.returns( { + first_name: String, + last_name: String, address: Lithic::Address, dob: String, email: String, - first_name: String, government_id: String, - last_name: String, phone_number: String } ) diff --git a/rbi/lithic/models/payment.rbi b/rbi/lithic/models/payment.rbi index 0ae925b1..bb68a075 100644 --- a/rbi/lithic/models/payment.rbi +++ b/rbi/lithic/models/payment.rbi @@ -982,6 +982,10 @@ module Lithic sig { returns(T.nilable(String)) } attr_accessor :message_id + # Payment details or invoice reference + sig { returns(T.nilable(String)) } + attr_accessor :remittance_information + sig do params( wire_message_type: T.nilable(String), @@ -989,7 +993,8 @@ module Lithic Lithic::Payment::MethodAttributes::WireMethodAttributes::WireNetwork::OrSymbol, creditor: Lithic::WirePartyDetails::OrHash, debtor: Lithic::WirePartyDetails::OrHash, - message_id: T.nilable(String) + message_id: T.nilable(String), + remittance_information: T.nilable(String) ).returns(T.attached_class) end def self.new( @@ -1001,7 +1006,9 @@ module Lithic debtor: nil, # Point to point reference identifier, as assigned by the instructing party, used # for tracking the message through the Fedwire system - message_id: nil + message_id: nil, + # Payment details or invoice reference + remittance_information: nil ) end @@ -1013,7 +1020,8 @@ module Lithic Lithic::Payment::MethodAttributes::WireMethodAttributes::WireNetwork::TaggedSymbol, creditor: Lithic::WirePartyDetails, debtor: Lithic::WirePartyDetails, - message_id: T.nilable(String) + message_id: T.nilable(String), + remittance_information: T.nilable(String) } ) end diff --git a/rbi/lithic/resources/account_holders.rbi b/rbi/lithic/resources/account_holders.rbi index 67c9be7e..e61d3564 100644 --- a/rbi/lithic/resources/account_holders.rbi +++ b/rbi/lithic/resources/account_holders.rbi @@ -245,8 +245,8 @@ module Lithic # # This endpoint is only valid for evaluations in a `PENDING_DOCUMENT` state. # - # Uploaded images must either be a `jpg` or `png` file, and each must be less than - # 15 MiB. Once both required uploads have been successfully completed, your + # Supported file types include `jpg`, `png`, and `pdf`. Each file must be less + # than 15 MiB. Once both required uploads have been successfully completed, your # document will be run through KYC verification. # # If you have registered a webhook, you will receive evaluation updates for any diff --git a/sig/lithic/models/account_holder_create_params.rbs b/sig/lithic/models/account_holder_create_params.rbs index f0d690c0..bcbb4c70 100644 --- a/sig/lithic/models/account_holder_create_params.rbs +++ b/sig/lithic/models/account_holder_create_params.rbs @@ -159,98 +159,114 @@ module Lithic type beneficial_owner_individual = { + first_name: String, + last_name: String, address: Lithic::Address, dob: String, email: String, - first_name: String, government_id: String, - last_name: String, phone_number: String } class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel - attr_accessor address: Lithic::Address + attr_accessor first_name: String - attr_accessor dob: String + attr_accessor last_name: String - attr_accessor email: String + attr_reader address: Lithic::Address? - attr_accessor first_name: String + def address=: (Lithic::Address) -> Lithic::Address - attr_accessor government_id: String + attr_reader dob: String? - attr_accessor last_name: String + def dob=: (String) -> String + + attr_reader email: String? + + def email=: (String) -> String + + attr_reader government_id: String? + + def government_id=: (String) -> String attr_reader phone_number: String? def phone_number=: (String) -> String def initialize: ( - address: Lithic::Address, - dob: String, - email: String, first_name: String, - government_id: String, last_name: String, + ?address: Lithic::Address, + ?dob: String, + ?email: String, + ?government_id: String, ?phone_number: String ) -> void def to_hash: -> { + first_name: String, + last_name: String, address: Lithic::Address, dob: String, email: String, - first_name: String, government_id: String, - last_name: String, phone_number: String } end type control_person = { + first_name: String, + last_name: String, address: Lithic::Address, dob: String, email: String, - first_name: String, government_id: String, - last_name: String, phone_number: String } class ControlPerson < Lithic::Internal::Type::BaseModel - attr_accessor address: Lithic::Address + attr_accessor first_name: String - attr_accessor dob: String + attr_accessor last_name: String - attr_accessor email: String + attr_reader address: Lithic::Address? - attr_accessor first_name: String + def address=: (Lithic::Address) -> Lithic::Address - attr_accessor government_id: String + attr_reader dob: String? - attr_accessor last_name: String + def dob=: (String) -> String + + attr_reader email: String? + + def email=: (String) -> String + + attr_reader government_id: String? + + def government_id=: (String) -> String attr_reader phone_number: String? def phone_number=: (String) -> String def initialize: ( - address: Lithic::Address, - dob: String, - email: String, first_name: String, - government_id: String, last_name: String, + ?address: Lithic::Address, + ?dob: String, + ?email: String, + ?government_id: String, ?phone_number: String ) -> void def to_hash: -> { + first_name: String, + last_name: String, address: Lithic::Address, dob: String, email: String, - first_name: String, government_id: String, - last_name: String, phone_number: String } end diff --git a/sig/lithic/models/payment.rbs b/sig/lithic/models/payment.rbs index 737668c6..a8eff0f0 100644 --- a/sig/lithic/models/payment.rbs +++ b/sig/lithic/models/payment.rbs @@ -423,7 +423,8 @@ module Lithic wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network, creditor: Lithic::WirePartyDetails, debtor: Lithic::WirePartyDetails, - message_id: String? + message_id: String?, + remittance_information: String? } class WireMethodAttributes < Lithic::Internal::Type::BaseModel @@ -441,12 +442,15 @@ module Lithic attr_accessor message_id: String? + attr_accessor remittance_information: String? + def initialize: ( wire_message_type: String?, wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network, ?creditor: Lithic::WirePartyDetails, ?debtor: Lithic::WirePartyDetails, - ?message_id: String? + ?message_id: String?, + ?remittance_information: String? ) -> void def to_hash: -> { @@ -454,7 +458,8 @@ module Lithic wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network, creditor: Lithic::WirePartyDetails, debtor: Lithic::WirePartyDetails, - message_id: String? + message_id: String?, + remittance_information: String? } type wire_network = :FEDWIRE | :SWIFT