increase 1.307.0 → 1.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/inbound_mail_item.rb +3 -3
- data/lib/increase/models/simulations/account_revenue_payment_create_params.rb +63 -0
- data/lib/increase/resources/simulations/account_revenue_payments.rb +51 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +2 -0
- data/rbi/increase/models/inbound_mail_item.rbi +3 -3
- data/rbi/increase/models/simulations/account_revenue_payment_create_params.rbi +95 -0
- data/rbi/increase/resources/simulations/account_revenue_payments.rbi +44 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/models/inbound_mail_item.rbs +4 -4
- data/sig/increase/models/simulations/account_revenue_payment_create_params.rbs +54 -0
- data/sig/increase/resources/simulations/account_revenue_payments.rbs +18 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +7 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c0101f8c177f28381665f2dda29f4a10d5628db123807a5da25f80b9e7ee961
|
|
4
|
+
data.tar.gz: 3c0171648e3432f2ad428abab432aaac879538594ac63ecec1de5d715b1f18e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7324fdfd5c3023e4d7c9b620cb17c76a00a8c1f6ccc6e08369935962d60bf2e5b58d7bead918ca022e66321ac65726fdf8911afbcdc38979650751102dd5624c
|
|
7
|
+
data.tar.gz: 55fef30ae1c6566606cedf6fa9c779a07f526afb1e3c91208bfe47272f2974fefcadc5178df23b15f09510252ddb47b2410331a8aea39a4c6e61cc26172daf51
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.309.0 (2026-04-28)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.308.0...v1.309.0](https://github.com/Increase/increase-ruby/compare/v1.308.0...v1.309.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([7ed5b8e](https://github.com/Increase/increase-ruby/commit/7ed5b8ed41c30aa9b10df342b6d4e543d5312a4b))
|
|
10
|
+
|
|
11
|
+
## 1.308.0 (2026-04-28)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.307.0...v1.308.0](https://github.com/Increase/increase-ruby/compare/v1.307.0...v1.308.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([6fa981d](https://github.com/Increase/increase-ruby/commit/6fa981d1d86efa613341bc8a6b085df29e0c8658))
|
|
18
|
+
|
|
3
19
|
## 1.307.0 (2026-04-28)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.306.0...v1.307.0](https://github.com/Increase/increase-ruby/compare/v1.306.0...v1.307.0)
|
data/README.md
CHANGED
|
@@ -32,8 +32,8 @@ module Increase
|
|
|
32
32
|
# @!attribute lockbox_address_id
|
|
33
33
|
# The identifier for the Lockbox Address that received this mail item.
|
|
34
34
|
#
|
|
35
|
-
# @return [String
|
|
36
|
-
required :lockbox_address_id, String
|
|
35
|
+
# @return [String]
|
|
36
|
+
required :lockbox_address_id, String
|
|
37
37
|
|
|
38
38
|
# @!attribute lockbox_recipient_id
|
|
39
39
|
# The identifier for the Lockbox Recipient that received this mail item. For mail
|
|
@@ -82,7 +82,7 @@ module Increase
|
|
|
82
82
|
#
|
|
83
83
|
# @param file_id [String] The identifier for the File containing the scanned contents of the mail item.
|
|
84
84
|
#
|
|
85
|
-
# @param lockbox_address_id [String
|
|
85
|
+
# @param lockbox_address_id [String] The identifier for the Lockbox Address that received this mail item.
|
|
86
86
|
#
|
|
87
87
|
# @param lockbox_recipient_id [String, nil] The identifier for the Lockbox Recipient that received this mail item. For mail
|
|
88
88
|
#
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
module Simulations
|
|
6
|
+
# @see Increase::Resources::Simulations::AccountRevenuePayments#create
|
|
7
|
+
class AccountRevenuePaymentCreateParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute account_id
|
|
12
|
+
# The identifier of the Account the Account Revenue Payment should be paid to.
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :account_id, String
|
|
16
|
+
|
|
17
|
+
# @!attribute amount
|
|
18
|
+
# The account revenue amount in cents. Must be positive.
|
|
19
|
+
#
|
|
20
|
+
# @return [Integer]
|
|
21
|
+
required :amount, Integer
|
|
22
|
+
|
|
23
|
+
# @!attribute accrued_on_account_id
|
|
24
|
+
# The identifier of the Account the account revenue accrued on. Defaults to
|
|
25
|
+
# `account_id`.
|
|
26
|
+
#
|
|
27
|
+
# @return [String, nil]
|
|
28
|
+
optional :accrued_on_account_id, String
|
|
29
|
+
|
|
30
|
+
# @!attribute period_end
|
|
31
|
+
# The end of the account revenue period. If not provided, defaults to the current
|
|
32
|
+
# time.
|
|
33
|
+
#
|
|
34
|
+
# @return [Time, nil]
|
|
35
|
+
optional :period_end, Time
|
|
36
|
+
|
|
37
|
+
# @!attribute period_start
|
|
38
|
+
# The start of the account revenue period. If not provided, defaults to the
|
|
39
|
+
# current time.
|
|
40
|
+
#
|
|
41
|
+
# @return [Time, nil]
|
|
42
|
+
optional :period_start, Time
|
|
43
|
+
|
|
44
|
+
# @!method initialize(account_id:, amount:, accrued_on_account_id: nil, period_end: nil, period_start: nil, request_options: {})
|
|
45
|
+
# Some parameter documentations has been truncated, see
|
|
46
|
+
# {Increase::Models::Simulations::AccountRevenuePaymentCreateParams} for more
|
|
47
|
+
# details.
|
|
48
|
+
#
|
|
49
|
+
# @param account_id [String] The identifier of the Account the Account Revenue Payment should be paid to.
|
|
50
|
+
#
|
|
51
|
+
# @param amount [Integer] The account revenue amount in cents. Must be positive.
|
|
52
|
+
#
|
|
53
|
+
# @param accrued_on_account_id [String] The identifier of the Account the account revenue accrued on. Defaults to `accou
|
|
54
|
+
#
|
|
55
|
+
# @param period_end [Time] The end of the account revenue period. If not provided, defaults to the current
|
|
56
|
+
#
|
|
57
|
+
# @param period_start [Time] The start of the account revenue period. If not provided, defaults to the curren
|
|
58
|
+
#
|
|
59
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Resources
|
|
5
|
+
class Simulations
|
|
6
|
+
class AccountRevenuePayments
|
|
7
|
+
# Some parameter documentations has been truncated, see
|
|
8
|
+
# {Increase::Models::Simulations::AccountRevenuePaymentCreateParams} for more
|
|
9
|
+
# details.
|
|
10
|
+
#
|
|
11
|
+
# Simulates an account revenue payment to your account. In production, this
|
|
12
|
+
# happens automatically on the first of each month.
|
|
13
|
+
#
|
|
14
|
+
# @overload create(account_id:, amount:, accrued_on_account_id: nil, period_end: nil, period_start: nil, request_options: {})
|
|
15
|
+
#
|
|
16
|
+
# @param account_id [String] The identifier of the Account the Account Revenue Payment should be paid to.
|
|
17
|
+
#
|
|
18
|
+
# @param amount [Integer] The account revenue amount in cents. Must be positive.
|
|
19
|
+
#
|
|
20
|
+
# @param accrued_on_account_id [String] The identifier of the Account the account revenue accrued on. Defaults to `accou
|
|
21
|
+
#
|
|
22
|
+
# @param period_end [Time] The end of the account revenue period. If not provided, defaults to the current
|
|
23
|
+
#
|
|
24
|
+
# @param period_start [Time] The start of the account revenue period. If not provided, defaults to the curren
|
|
25
|
+
#
|
|
26
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
27
|
+
#
|
|
28
|
+
# @return [Increase::Models::Transaction]
|
|
29
|
+
#
|
|
30
|
+
# @see Increase::Models::Simulations::AccountRevenuePaymentCreateParams
|
|
31
|
+
def create(params)
|
|
32
|
+
parsed, options = Increase::Simulations::AccountRevenuePaymentCreateParams.dump_request(params)
|
|
33
|
+
@client.request(
|
|
34
|
+
method: :post,
|
|
35
|
+
path: "simulations/account_revenue_payments",
|
|
36
|
+
body: parsed,
|
|
37
|
+
model: Increase::Transaction,
|
|
38
|
+
options: options
|
|
39
|
+
)
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# @api private
|
|
43
|
+
#
|
|
44
|
+
# @param client [Increase::Client]
|
|
45
|
+
def initialize(client:)
|
|
46
|
+
@client = client
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
@@ -6,6 +6,9 @@ module Increase
|
|
|
6
6
|
# @return [Increase::Resources::Simulations::InterestPayments]
|
|
7
7
|
attr_reader :interest_payments
|
|
8
8
|
|
|
9
|
+
# @return [Increase::Resources::Simulations::AccountRevenuePayments]
|
|
10
|
+
attr_reader :account_revenue_payments
|
|
11
|
+
|
|
9
12
|
# @return [Increase::Resources::Simulations::CardAuthorizations]
|
|
10
13
|
attr_reader :card_authorizations
|
|
11
14
|
|
|
@@ -108,6 +111,7 @@ module Increase
|
|
|
108
111
|
def initialize(client:)
|
|
109
112
|
@client = client
|
|
110
113
|
@interest_payments = Increase::Resources::Simulations::InterestPayments.new(client: client)
|
|
114
|
+
@account_revenue_payments = Increase::Resources::Simulations::AccountRevenuePayments.new(client: client)
|
|
111
115
|
@card_authorizations = Increase::Resources::Simulations::CardAuthorizations.new(client: client)
|
|
112
116
|
@card_balance_inquiries = Increase::Resources::Simulations::CardBalanceInquiries.new(client: client)
|
|
113
117
|
@card_authorization_expirations =
|
data/lib/increase/version.rb
CHANGED
data/lib/increase.rb
CHANGED
|
@@ -284,6 +284,7 @@ require_relative "increase/models/real_time_payments_transfer_list_params"
|
|
|
284
284
|
require_relative "increase/models/real_time_payments_transfer_retrieve_params"
|
|
285
285
|
require_relative "increase/models/routing_number_list_params"
|
|
286
286
|
require_relative "increase/models/routing_number_list_response"
|
|
287
|
+
require_relative "increase/models/simulations/account_revenue_payment_create_params"
|
|
287
288
|
require_relative "increase/models/simulations/account_statement_create_params"
|
|
288
289
|
require_relative "increase/models/simulations/ach_transfer_acknowledge_params"
|
|
289
290
|
require_relative "increase/models/simulations/ach_transfer_create_notification_of_change_params"
|
|
@@ -407,6 +408,7 @@ require_relative "increase/resources/real_time_decisions"
|
|
|
407
408
|
require_relative "increase/resources/real_time_payments_transfers"
|
|
408
409
|
require_relative "increase/resources/routing_numbers"
|
|
409
410
|
require_relative "increase/resources/simulations"
|
|
411
|
+
require_relative "increase/resources/simulations/account_revenue_payments"
|
|
410
412
|
require_relative "increase/resources/simulations/account_statements"
|
|
411
413
|
require_relative "increase/resources/simulations/ach_transfers"
|
|
412
414
|
require_relative "increase/resources/simulations/card_authentications"
|
|
@@ -26,7 +26,7 @@ module Increase
|
|
|
26
26
|
attr_accessor :file_id
|
|
27
27
|
|
|
28
28
|
# The identifier for the Lockbox Address that received this mail item.
|
|
29
|
-
sig { returns(
|
|
29
|
+
sig { returns(String) }
|
|
30
30
|
attr_accessor :lockbox_address_id
|
|
31
31
|
|
|
32
32
|
# The identifier for the Lockbox Recipient that received this mail item. For mail
|
|
@@ -63,7 +63,7 @@ module Increase
|
|
|
63
63
|
checks: T::Array[Increase::InboundMailItem::Check::OrHash],
|
|
64
64
|
created_at: Time,
|
|
65
65
|
file_id: String,
|
|
66
|
-
lockbox_address_id:
|
|
66
|
+
lockbox_address_id: String,
|
|
67
67
|
lockbox_recipient_id: T.nilable(String),
|
|
68
68
|
recipient_name: T.nilable(String),
|
|
69
69
|
rejection_reason:
|
|
@@ -106,7 +106,7 @@ module Increase
|
|
|
106
106
|
checks: T::Array[Increase::InboundMailItem::Check],
|
|
107
107
|
created_at: Time,
|
|
108
108
|
file_id: String,
|
|
109
|
-
lockbox_address_id:
|
|
109
|
+
lockbox_address_id: String,
|
|
110
110
|
lockbox_recipient_id: T.nilable(String),
|
|
111
111
|
recipient_name: T.nilable(String),
|
|
112
112
|
rejection_reason:
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
module Simulations
|
|
6
|
+
class AccountRevenuePaymentCreateParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Increase::Simulations::AccountRevenuePaymentCreateParams,
|
|
14
|
+
Increase::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# The identifier of the Account the Account Revenue Payment should be paid to.
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :account_id
|
|
21
|
+
|
|
22
|
+
# The account revenue amount in cents. Must be positive.
|
|
23
|
+
sig { returns(Integer) }
|
|
24
|
+
attr_accessor :amount
|
|
25
|
+
|
|
26
|
+
# The identifier of the Account the account revenue accrued on. Defaults to
|
|
27
|
+
# `account_id`.
|
|
28
|
+
sig { returns(T.nilable(String)) }
|
|
29
|
+
attr_reader :accrued_on_account_id
|
|
30
|
+
|
|
31
|
+
sig { params(accrued_on_account_id: String).void }
|
|
32
|
+
attr_writer :accrued_on_account_id
|
|
33
|
+
|
|
34
|
+
# The end of the account revenue period. If not provided, defaults to the current
|
|
35
|
+
# time.
|
|
36
|
+
sig { returns(T.nilable(Time)) }
|
|
37
|
+
attr_reader :period_end
|
|
38
|
+
|
|
39
|
+
sig { params(period_end: Time).void }
|
|
40
|
+
attr_writer :period_end
|
|
41
|
+
|
|
42
|
+
# The start of the account revenue period. If not provided, defaults to the
|
|
43
|
+
# current time.
|
|
44
|
+
sig { returns(T.nilable(Time)) }
|
|
45
|
+
attr_reader :period_start
|
|
46
|
+
|
|
47
|
+
sig { params(period_start: Time).void }
|
|
48
|
+
attr_writer :period_start
|
|
49
|
+
|
|
50
|
+
sig do
|
|
51
|
+
params(
|
|
52
|
+
account_id: String,
|
|
53
|
+
amount: Integer,
|
|
54
|
+
accrued_on_account_id: String,
|
|
55
|
+
period_end: Time,
|
|
56
|
+
period_start: Time,
|
|
57
|
+
request_options: Increase::RequestOptions::OrHash
|
|
58
|
+
).returns(T.attached_class)
|
|
59
|
+
end
|
|
60
|
+
def self.new(
|
|
61
|
+
# The identifier of the Account the Account Revenue Payment should be paid to.
|
|
62
|
+
account_id:,
|
|
63
|
+
# The account revenue amount in cents. Must be positive.
|
|
64
|
+
amount:,
|
|
65
|
+
# The identifier of the Account the account revenue accrued on. Defaults to
|
|
66
|
+
# `account_id`.
|
|
67
|
+
accrued_on_account_id: nil,
|
|
68
|
+
# The end of the account revenue period. If not provided, defaults to the current
|
|
69
|
+
# time.
|
|
70
|
+
period_end: nil,
|
|
71
|
+
# The start of the account revenue period. If not provided, defaults to the
|
|
72
|
+
# current time.
|
|
73
|
+
period_start: nil,
|
|
74
|
+
request_options: {}
|
|
75
|
+
)
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
sig do
|
|
79
|
+
override.returns(
|
|
80
|
+
{
|
|
81
|
+
account_id: String,
|
|
82
|
+
amount: Integer,
|
|
83
|
+
accrued_on_account_id: String,
|
|
84
|
+
period_end: Time,
|
|
85
|
+
period_start: Time,
|
|
86
|
+
request_options: Increase::RequestOptions
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
end
|
|
90
|
+
def to_hash
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Resources
|
|
5
|
+
class Simulations
|
|
6
|
+
class AccountRevenuePayments
|
|
7
|
+
# Simulates an account revenue payment to your account. In production, this
|
|
8
|
+
# happens automatically on the first of each month.
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
account_id: String,
|
|
12
|
+
amount: Integer,
|
|
13
|
+
accrued_on_account_id: String,
|
|
14
|
+
period_end: Time,
|
|
15
|
+
period_start: Time,
|
|
16
|
+
request_options: Increase::RequestOptions::OrHash
|
|
17
|
+
).returns(Increase::Transaction)
|
|
18
|
+
end
|
|
19
|
+
def create(
|
|
20
|
+
# The identifier of the Account the Account Revenue Payment should be paid to.
|
|
21
|
+
account_id:,
|
|
22
|
+
# The account revenue amount in cents. Must be positive.
|
|
23
|
+
amount:,
|
|
24
|
+
# The identifier of the Account the account revenue accrued on. Defaults to
|
|
25
|
+
# `account_id`.
|
|
26
|
+
accrued_on_account_id: nil,
|
|
27
|
+
# The end of the account revenue period. If not provided, defaults to the current
|
|
28
|
+
# time.
|
|
29
|
+
period_end: nil,
|
|
30
|
+
# The start of the account revenue period. If not provided, defaults to the
|
|
31
|
+
# current time.
|
|
32
|
+
period_start: nil,
|
|
33
|
+
request_options: {}
|
|
34
|
+
)
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# @api private
|
|
38
|
+
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
39
|
+
def self.new(client:)
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -6,6 +6,9 @@ module Increase
|
|
|
6
6
|
sig { returns(Increase::Resources::Simulations::InterestPayments) }
|
|
7
7
|
attr_reader :interest_payments
|
|
8
8
|
|
|
9
|
+
sig { returns(Increase::Resources::Simulations::AccountRevenuePayments) }
|
|
10
|
+
attr_reader :account_revenue_payments
|
|
11
|
+
|
|
9
12
|
sig { returns(Increase::Resources::Simulations::CardAuthorizations) }
|
|
10
13
|
attr_reader :card_authorizations
|
|
11
14
|
|
|
@@ -6,7 +6,7 @@ module Increase
|
|
|
6
6
|
checks: ::Array[Increase::InboundMailItem::Check],
|
|
7
7
|
created_at: Time,
|
|
8
8
|
file_id: String,
|
|
9
|
-
lockbox_address_id: String
|
|
9
|
+
lockbox_address_id: String,
|
|
10
10
|
lockbox_recipient_id: String?,
|
|
11
11
|
recipient_name: String?,
|
|
12
12
|
rejection_reason: Increase::Models::InboundMailItem::rejection_reason?,
|
|
@@ -23,7 +23,7 @@ module Increase
|
|
|
23
23
|
|
|
24
24
|
attr_accessor file_id: String
|
|
25
25
|
|
|
26
|
-
attr_accessor lockbox_address_id: String
|
|
26
|
+
attr_accessor lockbox_address_id: String
|
|
27
27
|
|
|
28
28
|
attr_accessor lockbox_recipient_id: String?
|
|
29
29
|
|
|
@@ -40,7 +40,7 @@ module Increase
|
|
|
40
40
|
checks: ::Array[Increase::InboundMailItem::Check],
|
|
41
41
|
created_at: Time,
|
|
42
42
|
file_id: String,
|
|
43
|
-
lockbox_address_id: String
|
|
43
|
+
lockbox_address_id: String,
|
|
44
44
|
lockbox_recipient_id: String?,
|
|
45
45
|
recipient_name: String?,
|
|
46
46
|
rejection_reason: Increase::Models::InboundMailItem::rejection_reason?,
|
|
@@ -53,7 +53,7 @@ module Increase
|
|
|
53
53
|
checks: ::Array[Increase::InboundMailItem::Check],
|
|
54
54
|
created_at: Time,
|
|
55
55
|
file_id: String,
|
|
56
|
-
lockbox_address_id: String
|
|
56
|
+
lockbox_address_id: String,
|
|
57
57
|
lockbox_recipient_id: String?,
|
|
58
58
|
recipient_name: String?,
|
|
59
59
|
rejection_reason: Increase::Models::InboundMailItem::rejection_reason?,
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
module Simulations
|
|
4
|
+
type account_revenue_payment_create_params =
|
|
5
|
+
{
|
|
6
|
+
account_id: String,
|
|
7
|
+
amount: Integer,
|
|
8
|
+
accrued_on_account_id: String,
|
|
9
|
+
period_end: Time,
|
|
10
|
+
period_start: Time
|
|
11
|
+
}
|
|
12
|
+
& Increase::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class AccountRevenuePaymentCreateParams < Increase::Internal::Type::BaseModel
|
|
15
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Increase::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_accessor account_id: String
|
|
19
|
+
|
|
20
|
+
attr_accessor amount: Integer
|
|
21
|
+
|
|
22
|
+
attr_reader accrued_on_account_id: String?
|
|
23
|
+
|
|
24
|
+
def accrued_on_account_id=: (String) -> String
|
|
25
|
+
|
|
26
|
+
attr_reader period_end: Time?
|
|
27
|
+
|
|
28
|
+
def period_end=: (Time) -> Time
|
|
29
|
+
|
|
30
|
+
attr_reader period_start: Time?
|
|
31
|
+
|
|
32
|
+
def period_start=: (Time) -> Time
|
|
33
|
+
|
|
34
|
+
def initialize: (
|
|
35
|
+
account_id: String,
|
|
36
|
+
amount: Integer,
|
|
37
|
+
?accrued_on_account_id: String,
|
|
38
|
+
?period_end: Time,
|
|
39
|
+
?period_start: Time,
|
|
40
|
+
?request_options: Increase::request_opts
|
|
41
|
+
) -> void
|
|
42
|
+
|
|
43
|
+
def to_hash: -> {
|
|
44
|
+
account_id: String,
|
|
45
|
+
amount: Integer,
|
|
46
|
+
accrued_on_account_id: String,
|
|
47
|
+
period_end: Time,
|
|
48
|
+
period_start: Time,
|
|
49
|
+
request_options: Increase::RequestOptions
|
|
50
|
+
}
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Resources
|
|
3
|
+
class Simulations
|
|
4
|
+
class AccountRevenuePayments
|
|
5
|
+
def create: (
|
|
6
|
+
account_id: String,
|
|
7
|
+
amount: Integer,
|
|
8
|
+
?accrued_on_account_id: String,
|
|
9
|
+
?period_end: Time,
|
|
10
|
+
?period_start: Time,
|
|
11
|
+
?request_options: Increase::request_opts
|
|
12
|
+
) -> Increase::Transaction
|
|
13
|
+
|
|
14
|
+
def initialize: (client: Increase::Client) -> void
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -3,6 +3,8 @@ module Increase
|
|
|
3
3
|
class Simulations
|
|
4
4
|
attr_reader interest_payments: Increase::Resources::Simulations::InterestPayments
|
|
5
5
|
|
|
6
|
+
attr_reader account_revenue_payments: Increase::Resources::Simulations::AccountRevenuePayments
|
|
7
|
+
|
|
6
8
|
attr_reader card_authorizations: Increase::Resources::Simulations::CardAuthorizations
|
|
7
9
|
|
|
8
10
|
attr_reader card_balance_inquiries: Increase::Resources::Simulations::CardBalanceInquiries
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.309.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
@@ -314,6 +314,7 @@ files:
|
|
|
314
314
|
- lib/increase/models/real_time_payments_transfer_retrieve_params.rb
|
|
315
315
|
- lib/increase/models/routing_number_list_params.rb
|
|
316
316
|
- lib/increase/models/routing_number_list_response.rb
|
|
317
|
+
- lib/increase/models/simulations/account_revenue_payment_create_params.rb
|
|
317
318
|
- lib/increase/models/simulations/account_statement_create_params.rb
|
|
318
319
|
- lib/increase/models/simulations/ach_transfer_acknowledge_params.rb
|
|
319
320
|
- lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb
|
|
@@ -437,6 +438,7 @@ files:
|
|
|
437
438
|
- lib/increase/resources/real_time_payments_transfers.rb
|
|
438
439
|
- lib/increase/resources/routing_numbers.rb
|
|
439
440
|
- lib/increase/resources/simulations.rb
|
|
441
|
+
- lib/increase/resources/simulations/account_revenue_payments.rb
|
|
440
442
|
- lib/increase/resources/simulations/account_statements.rb
|
|
441
443
|
- lib/increase/resources/simulations/ach_transfers.rb
|
|
442
444
|
- lib/increase/resources/simulations/card_authentications.rb
|
|
@@ -727,6 +729,7 @@ files:
|
|
|
727
729
|
- rbi/increase/models/real_time_payments_transfer_retrieve_params.rbi
|
|
728
730
|
- rbi/increase/models/routing_number_list_params.rbi
|
|
729
731
|
- rbi/increase/models/routing_number_list_response.rbi
|
|
732
|
+
- rbi/increase/models/simulations/account_revenue_payment_create_params.rbi
|
|
730
733
|
- rbi/increase/models/simulations/account_statement_create_params.rbi
|
|
731
734
|
- rbi/increase/models/simulations/ach_transfer_acknowledge_params.rbi
|
|
732
735
|
- rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi
|
|
@@ -850,6 +853,7 @@ files:
|
|
|
850
853
|
- rbi/increase/resources/real_time_payments_transfers.rbi
|
|
851
854
|
- rbi/increase/resources/routing_numbers.rbi
|
|
852
855
|
- rbi/increase/resources/simulations.rbi
|
|
856
|
+
- rbi/increase/resources/simulations/account_revenue_payments.rbi
|
|
853
857
|
- rbi/increase/resources/simulations/account_statements.rbi
|
|
854
858
|
- rbi/increase/resources/simulations/ach_transfers.rbi
|
|
855
859
|
- rbi/increase/resources/simulations/card_authentications.rbi
|
|
@@ -1139,6 +1143,7 @@ files:
|
|
|
1139
1143
|
- sig/increase/models/real_time_payments_transfer_retrieve_params.rbs
|
|
1140
1144
|
- sig/increase/models/routing_number_list_params.rbs
|
|
1141
1145
|
- sig/increase/models/routing_number_list_response.rbs
|
|
1146
|
+
- sig/increase/models/simulations/account_revenue_payment_create_params.rbs
|
|
1142
1147
|
- sig/increase/models/simulations/account_statement_create_params.rbs
|
|
1143
1148
|
- sig/increase/models/simulations/ach_transfer_acknowledge_params.rbs
|
|
1144
1149
|
- sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs
|
|
@@ -1262,6 +1267,7 @@ files:
|
|
|
1262
1267
|
- sig/increase/resources/real_time_payments_transfers.rbs
|
|
1263
1268
|
- sig/increase/resources/routing_numbers.rbs
|
|
1264
1269
|
- sig/increase/resources/simulations.rbs
|
|
1270
|
+
- sig/increase/resources/simulations/account_revenue_payments.rbs
|
|
1265
1271
|
- sig/increase/resources/simulations/account_statements.rbs
|
|
1266
1272
|
- sig/increase/resources/simulations/ach_transfers.rbs
|
|
1267
1273
|
- sig/increase/resources/simulations/card_authentications.rbs
|