Skip to content

Commit 9ed474c

Browse files
feat(api): add recipient_name field to payment ACH method attributes
1 parent f5f2fdb commit 9ed474c

4 files changed

Lines changed: 24 additions & 3 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 214
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-5b3d4793b9cc2b4a6ac971f36d5e8a08b48fb976aba670f9ffedc929a52d3e0a.yml
3-
openapi_spec_hash: 3bcf49d20dbd24100d67fa3750a40e6b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-bd17a533b1b772cf28389698c3d4e9f462360e323588175292161c5adc5895f1.yml
3+
openapi_spec_hash: 1004e42a5569ca559ffee65bd85ee7f8
44
config_hash: 5bb913c05ebeb301ec925b16e75bb251

lib/lithic/models/payment.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,12 @@ class ACHMethodAttributes < Lithic::Internal::Type::BaseModel
539539
# @return [String, nil]
540540
optional :receipt_routing_number, String, nil?: true
541541

542+
# @!attribute recipient_name
543+
# Name of the recipient on ACH receipts. Reflects the originating bank's record
544+
#
545+
# @return [String, nil]
546+
optional :recipient_name, String, nil?: true
547+
542548
# @!attribute retries
543549
# Number of retries attempted
544550
#
@@ -557,7 +563,7 @@ class ACHMethodAttributes < Lithic::Internal::Type::BaseModel
557563
# @return [Array<String>, nil]
558564
optional :trace_numbers, Lithic::Internal::Type::ArrayOf[String]
559565

560-
# @!method initialize(sec_code:, ach_hold_period: nil, addenda: nil, company_id: nil, override_company_name: nil, receipt_routing_number: nil, retries: nil, return_reason_code: nil, trace_numbers: nil)
566+
# @!method initialize(sec_code:, ach_hold_period: nil, addenda: nil, company_id: nil, override_company_name: nil, receipt_routing_number: nil, recipient_name: nil, retries: nil, return_reason_code: nil, trace_numbers: nil)
561567
# Some parameter documentations has been truncated, see
562568
# {Lithic::Models::Payment::MethodAttributes::ACHMethodAttributes} for more
563569
# details.
@@ -574,6 +580,8 @@ class ACHMethodAttributes < Lithic::Internal::Type::BaseModel
574580
#
575581
# @param receipt_routing_number [String, nil] Receipt routing number
576582
#
583+
# @param recipient_name [String, nil] Name of the recipient on ACH receipts. Reflects the originating bank's record
584+
#
577585
# @param retries [Integer, nil] Number of retries attempted
578586
#
579587
# @param return_reason_code [String, nil] Return reason code if the transaction was returned

rbi/lithic/models/payment.rbi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,10 @@ module Lithic
840840
sig { returns(T.nilable(String)) }
841841
attr_accessor :receipt_routing_number
842842

843+
# Name of the recipient on ACH receipts. Reflects the originating bank's record
844+
sig { returns(T.nilable(String)) }
845+
attr_accessor :recipient_name
846+
843847
# Number of retries attempted
844848
sig { returns(T.nilable(Integer)) }
845849
attr_accessor :retries
@@ -864,6 +868,7 @@ module Lithic
864868
company_id: T.nilable(String),
865869
override_company_name: T.nilable(String),
866870
receipt_routing_number: T.nilable(String),
871+
recipient_name: T.nilable(String),
867872
retries: T.nilable(Integer),
868873
return_reason_code: T.nilable(String),
869874
trace_numbers: T::Array[String]
@@ -883,6 +888,8 @@ module Lithic
883888
override_company_name: nil,
884889
# Receipt routing number
885890
receipt_routing_number: nil,
891+
# Name of the recipient on ACH receipts. Reflects the originating bank's record
892+
recipient_name: nil,
886893
# Number of retries attempted
887894
retries: nil,
888895
# Return reason code if the transaction was returned
@@ -902,6 +909,7 @@ module Lithic
902909
company_id: T.nilable(String),
903910
override_company_name: T.nilable(String),
904911
receipt_routing_number: T.nilable(String),
912+
recipient_name: T.nilable(String),
905913
retries: T.nilable(Integer),
906914
return_reason_code: T.nilable(String),
907915
trace_numbers: T::Array[String]

sig/lithic/models/payment.rbs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ module Lithic
363363
company_id: String?,
364364
override_company_name: String?,
365365
receipt_routing_number: String?,
366+
recipient_name: String?,
366367
retries: Integer?,
367368
return_reason_code: String?,
368369
trace_numbers: ::Array[String]
@@ -381,6 +382,8 @@ module Lithic
381382

382383
attr_accessor receipt_routing_number: String?
383384

385+
attr_accessor recipient_name: String?
386+
384387
attr_accessor retries: Integer?
385388

386389
attr_accessor return_reason_code: String?
@@ -396,6 +399,7 @@ module Lithic
396399
?company_id: String?,
397400
?override_company_name: String?,
398401
?receipt_routing_number: String?,
402+
?recipient_name: String?,
399403
?retries: Integer?,
400404
?return_reason_code: String?,
401405
?trace_numbers: ::Array[String]
@@ -408,6 +412,7 @@ module Lithic
408412
company_id: String?,
409413
override_company_name: String?,
410414
receipt_routing_number: String?,
415+
recipient_name: String?,
411416
retries: Integer?,
412417
return_reason_code: String?,
413418
trace_numbers: ::Array[String]

0 commit comments

Comments
 (0)