increase 1.354.0 → 1.355.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/README.md +1 -1
- data/lib/increase/client.rb +18 -0
- data/lib/increase/models/card_create_details_token_params.rb +22 -0
- data/lib/increase/models/card_details_token.rb +57 -0
- data/lib/increase/models/card_payment.rb +26 -1
- data/lib/increase/models/digital_wallet_token.rb +3 -0
- data/lib/increase/models/digital_wallet_token_request.rb +307 -0
- data/lib/increase/models/digital_wallet_token_request_list_params.rb +99 -0
- data/lib/increase/models/digital_wallet_token_request_retrieve_params.rb +22 -0
- data/lib/increase/models/digital_wallet_token_transition_params.rb +48 -0
- data/lib/increase/models/inbound_real_time_payments_request_for_payment.rb +318 -0
- data/lib/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rb +113 -0
- data/lib/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rb +25 -0
- data/lib/increase/models/physical_check_batch.rb +266 -0
- data/lib/increase/models/physical_check_batch_cancel_params.rb +22 -0
- data/lib/increase/models/physical_check_batch_complete_params.rb +22 -0
- data/lib/increase/models/physical_check_batch_create_params.rb +189 -0
- data/lib/increase/models/real_time_decision.rb +6 -0
- data/lib/increase/models/real_time_payments_request_for_payment.rb +658 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_cancel_params.rb +64 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_create_params.rb +194 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_list_params.rb +117 -0
- data/lib/increase/models/real_time_payments_requests_for_payment_retrieve_params.rb +23 -0
- data/lib/increase/models/simulations/fednow_transfer_complete_params.rb +103 -0
- data/lib/increase/models/simulations/inbound_check_deposit_accept_params.rb +24 -0
- data/lib/increase/models/transaction.rb +26 -1
- data/lib/increase/models.rb +42 -0
- data/lib/increase/resources/cards.rb +23 -0
- data/lib/increase/resources/digital_wallet_token_requests.rb +68 -0
- data/lib/increase/resources/digital_wallet_tokens.rb +28 -0
- data/lib/increase/resources/inbound_real_time_payments_requests_for_payment.rb +79 -0
- data/lib/increase/resources/physical_check_batches.rb +86 -0
- data/lib/increase/resources/real_time_payments_requests_for_payment.rb +159 -0
- data/lib/increase/resources/simulations/fednow_transfers.rb +43 -0
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +22 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +25 -0
- data/rbi/increase/client.rbi +14 -0
- data/rbi/increase/models/card_create_details_token_params.rbi +43 -0
- data/rbi/increase/models/card_details_token.rbi +85 -0
- data/rbi/increase/models/card_payment.rbi +52 -0
- data/rbi/increase/models/digital_wallet_token.rbi +7 -0
- data/rbi/increase/models/digital_wallet_token_request.rbi +586 -0
- data/rbi/increase/models/digital_wallet_token_request_list_params.rbi +171 -0
- data/rbi/increase/models/digital_wallet_token_request_retrieve_params.rbi +46 -0
- data/rbi/increase/models/digital_wallet_token_transition_params.rbi +100 -0
- data/rbi/increase/models/inbound_real_time_payments_request_for_payment.rbi +442 -0
- data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbi +188 -0
- data/rbi/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbi +48 -0
- data/rbi/increase/models/physical_check_batch.rbi +382 -0
- data/rbi/increase/models/physical_check_batch_cancel_params.rbi +46 -0
- data/rbi/increase/models/physical_check_batch_complete_params.rbi +46 -0
- data/rbi/increase/models/physical_check_batch_create_params.rbi +326 -0
- data/rbi/increase/models/real_time_decision.rbi +14 -0
- data/rbi/increase/models/real_time_payments_request_for_payment.rbi +1166 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_cancel_params.rbi +136 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_create_params.rbi +303 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_list_params.rbi +192 -0
- data/rbi/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbi +46 -0
- data/rbi/increase/models/simulations/fednow_transfer_complete_params.rbi +243 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_accept_params.rbi +48 -0
- data/rbi/increase/models/transaction.rbi +52 -0
- data/rbi/increase/models.rbi +50 -0
- data/rbi/increase/resources/cards.rbi +17 -0
- data/rbi/increase/resources/digital_wallet_token_requests.rbi +52 -0
- data/rbi/increase/resources/digital_wallet_tokens.rbi +21 -0
- data/rbi/increase/resources/inbound_real_time_payments_requests_for_payment.rbi +62 -0
- data/rbi/increase/resources/physical_check_batches.rbi +66 -0
- data/rbi/increase/resources/real_time_payments_requests_for_payment.rbi +127 -0
- data/rbi/increase/resources/simulations/fednow_transfers.rbi +34 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +16 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/client.rbs +8 -0
- data/sig/increase/models/card_create_details_token_params.rbs +23 -0
- data/sig/increase/models/card_details_token.rbs +40 -0
- data/sig/increase/models/card_payment.rbs +19 -0
- data/sig/increase/models/digital_wallet_token.rbs +5 -1
- data/sig/increase/models/digital_wallet_token_request.rbs +260 -0
- data/sig/increase/models/digital_wallet_token_request_list_params.rbs +86 -0
- data/sig/increase/models/digital_wallet_token_request_retrieve_params.rbs +24 -0
- data/sig/increase/models/digital_wallet_token_transition_params.rbs +48 -0
- data/sig/increase/models/inbound_real_time_payments_request_for_payment.rbs +200 -0
- data/sig/increase/models/inbound_real_time_payments_requests_for_payment_list_params.rbs +93 -0
- data/sig/increase/models/inbound_real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
- data/sig/increase/models/physical_check_batch.rbs +193 -0
- data/sig/increase/models/physical_check_batch_cancel_params.rbs +24 -0
- data/sig/increase/models/physical_check_batch_complete_params.rbs +24 -0
- data/sig/increase/models/physical_check_batch_create_params.rbs +156 -0
- data/sig/increase/models/real_time_decision.rbs +10 -2
- data/sig/increase/models/real_time_payments_request_for_payment.rbs +513 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_cancel_params.rbs +66 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_create_params.rbs +149 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_list_params.rbs +93 -0
- data/sig/increase/models/real_time_payments_requests_for_payment_retrieve_params.rbs +24 -0
- data/sig/increase/models/simulations/fednow_transfer_complete_params.rbs +122 -0
- data/sig/increase/models/simulations/inbound_check_deposit_accept_params.rbs +26 -0
- data/sig/increase/models/transaction.rbs +19 -0
- data/sig/increase/models.rbs +36 -0
- data/sig/increase/resources/cards.rbs +5 -0
- data/sig/increase/resources/digital_wallet_token_requests.rbs +20 -0
- data/sig/increase/resources/digital_wallet_tokens.rbs +6 -0
- data/sig/increase/resources/inbound_real_time_payments_requests_for_payment.rbs +21 -0
- data/sig/increase/resources/physical_check_batches.rbs +24 -0
- data/sig/increase/resources/real_time_payments_requests_for_payment.rbs +41 -0
- data/sig/increase/resources/simulations/fednow_transfers.rbs +15 -0
- data/sig/increase/resources/simulations/inbound_check_deposits.rbs +5 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +77 -2
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type digital_wallet_token_request_list_params =
|
|
4
|
+
{
|
|
5
|
+
card_id: String,
|
|
6
|
+
created_at: Increase::DigitalWalletTokenRequestListParams::CreatedAt,
|
|
7
|
+
cursor: String,
|
|
8
|
+
limit: Integer
|
|
9
|
+
}
|
|
10
|
+
& Increase::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class DigitalWalletTokenRequestListParams < Increase::Internal::Type::BaseModel
|
|
13
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include Increase::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_reader card_id: String?
|
|
17
|
+
|
|
18
|
+
def card_id=: (String) -> String
|
|
19
|
+
|
|
20
|
+
attr_reader created_at: Increase::DigitalWalletTokenRequestListParams::CreatedAt?
|
|
21
|
+
|
|
22
|
+
def created_at=: (
|
|
23
|
+
Increase::DigitalWalletTokenRequestListParams::CreatedAt
|
|
24
|
+
) -> Increase::DigitalWalletTokenRequestListParams::CreatedAt
|
|
25
|
+
|
|
26
|
+
attr_reader cursor: String?
|
|
27
|
+
|
|
28
|
+
def cursor=: (String) -> String
|
|
29
|
+
|
|
30
|
+
attr_reader limit: Integer?
|
|
31
|
+
|
|
32
|
+
def limit=: (Integer) -> Integer
|
|
33
|
+
|
|
34
|
+
def initialize: (
|
|
35
|
+
?card_id: String,
|
|
36
|
+
?created_at: Increase::DigitalWalletTokenRequestListParams::CreatedAt,
|
|
37
|
+
?cursor: String,
|
|
38
|
+
?limit: Integer,
|
|
39
|
+
?request_options: Increase::request_opts
|
|
40
|
+
) -> void
|
|
41
|
+
|
|
42
|
+
def to_hash: -> {
|
|
43
|
+
card_id: String,
|
|
44
|
+
created_at: Increase::DigitalWalletTokenRequestListParams::CreatedAt,
|
|
45
|
+
cursor: String,
|
|
46
|
+
limit: Integer,
|
|
47
|
+
request_options: Increase::RequestOptions
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
type created_at =
|
|
51
|
+
{ after: Time, before: Time, on_or_after: Time, on_or_before: Time }
|
|
52
|
+
|
|
53
|
+
class CreatedAt < Increase::Internal::Type::BaseModel
|
|
54
|
+
attr_reader after: Time?
|
|
55
|
+
|
|
56
|
+
def after=: (Time) -> Time
|
|
57
|
+
|
|
58
|
+
attr_reader before: Time?
|
|
59
|
+
|
|
60
|
+
def before=: (Time) -> Time
|
|
61
|
+
|
|
62
|
+
attr_reader on_or_after: Time?
|
|
63
|
+
|
|
64
|
+
def on_or_after=: (Time) -> Time
|
|
65
|
+
|
|
66
|
+
attr_reader on_or_before: Time?
|
|
67
|
+
|
|
68
|
+
def on_or_before=: (Time) -> Time
|
|
69
|
+
|
|
70
|
+
def initialize: (
|
|
71
|
+
?after: Time,
|
|
72
|
+
?before: Time,
|
|
73
|
+
?on_or_after: Time,
|
|
74
|
+
?on_or_before: Time
|
|
75
|
+
) -> void
|
|
76
|
+
|
|
77
|
+
def to_hash: -> {
|
|
78
|
+
after: Time,
|
|
79
|
+
before: Time,
|
|
80
|
+
on_or_after: Time,
|
|
81
|
+
on_or_before: Time
|
|
82
|
+
}
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type digital_wallet_token_request_retrieve_params =
|
|
4
|
+
{ digital_wallet_token_request_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class DigitalWalletTokenRequestRetrieveParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor digital_wallet_token_request_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
digital_wallet_token_request_id: String,
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
digital_wallet_token_request_id: String,
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type digital_wallet_token_transition_params =
|
|
4
|
+
{
|
|
5
|
+
digital_wallet_token_id: String,
|
|
6
|
+
status: Increase::Models::DigitalWalletTokenTransitionParams::status
|
|
7
|
+
}
|
|
8
|
+
& Increase::Internal::Type::request_parameters
|
|
9
|
+
|
|
10
|
+
class DigitalWalletTokenTransitionParams < Increase::Internal::Type::BaseModel
|
|
11
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
12
|
+
include Increase::Internal::Type::RequestParameters
|
|
13
|
+
|
|
14
|
+
attr_accessor digital_wallet_token_id: String
|
|
15
|
+
|
|
16
|
+
attr_accessor status: Increase::Models::DigitalWalletTokenTransitionParams::status
|
|
17
|
+
|
|
18
|
+
def initialize: (
|
|
19
|
+
digital_wallet_token_id: String,
|
|
20
|
+
status: Increase::Models::DigitalWalletTokenTransitionParams::status,
|
|
21
|
+
?request_options: Increase::request_opts
|
|
22
|
+
) -> void
|
|
23
|
+
|
|
24
|
+
def to_hash: -> {
|
|
25
|
+
digital_wallet_token_id: String,
|
|
26
|
+
status: Increase::Models::DigitalWalletTokenTransitionParams::status,
|
|
27
|
+
request_options: Increase::RequestOptions
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type status = :active | :suspended | :deactivated
|
|
31
|
+
|
|
32
|
+
module Status
|
|
33
|
+
extend Increase::Internal::Type::Enum
|
|
34
|
+
|
|
35
|
+
# Reactivate a suspended Digital Wallet Token.
|
|
36
|
+
ACTIVE: :active
|
|
37
|
+
|
|
38
|
+
# Temporarily pause an active Digital Wallet Token.
|
|
39
|
+
SUSPENDED: :suspended
|
|
40
|
+
|
|
41
|
+
# Permanently cancel an active, inactive, or suspended Digital Wallet Token.
|
|
42
|
+
DEACTIVATED: :deactivated
|
|
43
|
+
|
|
44
|
+
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenTransitionParams::status]
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type inbound_real_time_payments_request_for_payment =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
account_id: String,
|
|
7
|
+
account_number_id: String,
|
|
8
|
+
amount: Integer,
|
|
9
|
+
created_at: Time,
|
|
10
|
+
creditor: Increase::InboundRealTimePaymentsRequestForPayment::Creditor,
|
|
11
|
+
creditor_account_number: String,
|
|
12
|
+
creditor_routing_number: String,
|
|
13
|
+
currency: Increase::Models::InboundRealTimePaymentsRequestForPayment::currency,
|
|
14
|
+
debtor_name: String,
|
|
15
|
+
end_to_end_identification: String,
|
|
16
|
+
expires_at: Time,
|
|
17
|
+
fulfillment_real_time_payments_transfer_id: String?,
|
|
18
|
+
invoicer_identification: String?,
|
|
19
|
+
payment_information_identification: String,
|
|
20
|
+
requested_execution_at: Time?,
|
|
21
|
+
type: Increase::Models::InboundRealTimePaymentsRequestForPayment::type_,
|
|
22
|
+
unstructured_remittance_information: String?
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
class InboundRealTimePaymentsRequestForPayment < Increase::Internal::Type::BaseModel
|
|
26
|
+
attr_accessor id: String
|
|
27
|
+
|
|
28
|
+
attr_accessor account_id: String
|
|
29
|
+
|
|
30
|
+
attr_accessor account_number_id: String
|
|
31
|
+
|
|
32
|
+
attr_accessor amount: Integer
|
|
33
|
+
|
|
34
|
+
attr_accessor created_at: Time
|
|
35
|
+
|
|
36
|
+
attr_accessor creditor: Increase::InboundRealTimePaymentsRequestForPayment::Creditor
|
|
37
|
+
|
|
38
|
+
attr_accessor creditor_account_number: String
|
|
39
|
+
|
|
40
|
+
attr_accessor creditor_routing_number: String
|
|
41
|
+
|
|
42
|
+
attr_accessor currency: Increase::Models::InboundRealTimePaymentsRequestForPayment::currency
|
|
43
|
+
|
|
44
|
+
attr_accessor debtor_name: String
|
|
45
|
+
|
|
46
|
+
attr_accessor end_to_end_identification: String
|
|
47
|
+
|
|
48
|
+
attr_accessor expires_at: Time
|
|
49
|
+
|
|
50
|
+
attr_accessor fulfillment_real_time_payments_transfer_id: String?
|
|
51
|
+
|
|
52
|
+
attr_accessor invoicer_identification: String?
|
|
53
|
+
|
|
54
|
+
attr_accessor payment_information_identification: String
|
|
55
|
+
|
|
56
|
+
attr_accessor requested_execution_at: Time?
|
|
57
|
+
|
|
58
|
+
attr_accessor type: Increase::Models::InboundRealTimePaymentsRequestForPayment::type_
|
|
59
|
+
|
|
60
|
+
attr_accessor unstructured_remittance_information: String?
|
|
61
|
+
|
|
62
|
+
def initialize: (
|
|
63
|
+
id: String,
|
|
64
|
+
account_id: String,
|
|
65
|
+
account_number_id: String,
|
|
66
|
+
amount: Integer,
|
|
67
|
+
created_at: Time,
|
|
68
|
+
creditor: Increase::InboundRealTimePaymentsRequestForPayment::Creditor,
|
|
69
|
+
creditor_account_number: String,
|
|
70
|
+
creditor_routing_number: String,
|
|
71
|
+
currency: Increase::Models::InboundRealTimePaymentsRequestForPayment::currency,
|
|
72
|
+
debtor_name: String,
|
|
73
|
+
end_to_end_identification: String,
|
|
74
|
+
expires_at: Time,
|
|
75
|
+
fulfillment_real_time_payments_transfer_id: String?,
|
|
76
|
+
invoicer_identification: String?,
|
|
77
|
+
payment_information_identification: String,
|
|
78
|
+
requested_execution_at: Time?,
|
|
79
|
+
type: Increase::Models::InboundRealTimePaymentsRequestForPayment::type_,
|
|
80
|
+
unstructured_remittance_information: String?
|
|
81
|
+
) -> void
|
|
82
|
+
|
|
83
|
+
def to_hash: -> {
|
|
84
|
+
id: String,
|
|
85
|
+
account_id: String,
|
|
86
|
+
account_number_id: String,
|
|
87
|
+
amount: Integer,
|
|
88
|
+
created_at: Time,
|
|
89
|
+
creditor: Increase::InboundRealTimePaymentsRequestForPayment::Creditor,
|
|
90
|
+
creditor_account_number: String,
|
|
91
|
+
creditor_routing_number: String,
|
|
92
|
+
currency: Increase::Models::InboundRealTimePaymentsRequestForPayment::currency,
|
|
93
|
+
debtor_name: String,
|
|
94
|
+
end_to_end_identification: String,
|
|
95
|
+
expires_at: Time,
|
|
96
|
+
fulfillment_real_time_payments_transfer_id: String?,
|
|
97
|
+
invoicer_identification: String?,
|
|
98
|
+
payment_information_identification: String,
|
|
99
|
+
requested_execution_at: Time?,
|
|
100
|
+
type: Increase::Models::InboundRealTimePaymentsRequestForPayment::type_,
|
|
101
|
+
unstructured_remittance_information: String?
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
type creditor =
|
|
105
|
+
{
|
|
106
|
+
account_name: String?,
|
|
107
|
+
address: Increase::InboundRealTimePaymentsRequestForPayment::Creditor::Address,
|
|
108
|
+
name: String
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
class Creditor < Increase::Internal::Type::BaseModel
|
|
112
|
+
attr_accessor account_name: String?
|
|
113
|
+
|
|
114
|
+
attr_accessor address: Increase::InboundRealTimePaymentsRequestForPayment::Creditor::Address
|
|
115
|
+
|
|
116
|
+
attr_accessor name: String
|
|
117
|
+
|
|
118
|
+
def initialize: (
|
|
119
|
+
account_name: String?,
|
|
120
|
+
address: Increase::InboundRealTimePaymentsRequestForPayment::Creditor::Address,
|
|
121
|
+
name: String
|
|
122
|
+
) -> void
|
|
123
|
+
|
|
124
|
+
def to_hash: -> {
|
|
125
|
+
account_name: String?,
|
|
126
|
+
address: Increase::InboundRealTimePaymentsRequestForPayment::Creditor::Address,
|
|
127
|
+
name: String
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
type address =
|
|
131
|
+
{
|
|
132
|
+
:address_line2 => String?,
|
|
133
|
+
building_number: String?,
|
|
134
|
+
city: String?,
|
|
135
|
+
country: String?,
|
|
136
|
+
postal_code: String?,
|
|
137
|
+
state: String?,
|
|
138
|
+
street_name: String?
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
class Address < Increase::Internal::Type::BaseModel
|
|
142
|
+
attr_accessor address_line2: String?
|
|
143
|
+
|
|
144
|
+
attr_accessor building_number: String?
|
|
145
|
+
|
|
146
|
+
attr_accessor city: String?
|
|
147
|
+
|
|
148
|
+
attr_accessor country: String?
|
|
149
|
+
|
|
150
|
+
attr_accessor postal_code: String?
|
|
151
|
+
|
|
152
|
+
attr_accessor state: String?
|
|
153
|
+
|
|
154
|
+
attr_accessor street_name: String?
|
|
155
|
+
|
|
156
|
+
def initialize: (
|
|
157
|
+
address_line2: String?,
|
|
158
|
+
building_number: String?,
|
|
159
|
+
city: String?,
|
|
160
|
+
country: String?,
|
|
161
|
+
postal_code: String?,
|
|
162
|
+
state: String?,
|
|
163
|
+
street_name: String?
|
|
164
|
+
) -> void
|
|
165
|
+
|
|
166
|
+
def to_hash: -> {
|
|
167
|
+
:address_line2 => String?,
|
|
168
|
+
building_number: String?,
|
|
169
|
+
city: String?,
|
|
170
|
+
country: String?,
|
|
171
|
+
postal_code: String?,
|
|
172
|
+
state: String?,
|
|
173
|
+
street_name: String?
|
|
174
|
+
}
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
type currency = :USD
|
|
179
|
+
|
|
180
|
+
module Currency
|
|
181
|
+
extend Increase::Internal::Type::Enum
|
|
182
|
+
|
|
183
|
+
# US Dollar (USD)
|
|
184
|
+
USD: :USD
|
|
185
|
+
|
|
186
|
+
def self?.values: -> ::Array[Increase::Models::InboundRealTimePaymentsRequestForPayment::currency]
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
type type_ = :inbound_real_time_payments_request_for_payment
|
|
190
|
+
|
|
191
|
+
module Type
|
|
192
|
+
extend Increase::Internal::Type::Enum
|
|
193
|
+
|
|
194
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT: :inbound_real_time_payments_request_for_payment
|
|
195
|
+
|
|
196
|
+
def self?.values: -> ::Array[Increase::Models::InboundRealTimePaymentsRequestForPayment::type_]
|
|
197
|
+
end
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
end
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type inbound_real_time_payments_requests_for_payment_list_params =
|
|
4
|
+
{
|
|
5
|
+
account_id: String,
|
|
6
|
+
account_number_id: String,
|
|
7
|
+
created_at: Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt,
|
|
8
|
+
cursor: String,
|
|
9
|
+
limit: Integer
|
|
10
|
+
}
|
|
11
|
+
& Increase::Internal::Type::request_parameters
|
|
12
|
+
|
|
13
|
+
class InboundRealTimePaymentsRequestsForPaymentListParams < Increase::Internal::Type::BaseModel
|
|
14
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
15
|
+
include Increase::Internal::Type::RequestParameters
|
|
16
|
+
|
|
17
|
+
attr_reader account_id: String?
|
|
18
|
+
|
|
19
|
+
def account_id=: (String) -> String
|
|
20
|
+
|
|
21
|
+
attr_reader account_number_id: String?
|
|
22
|
+
|
|
23
|
+
def account_number_id=: (String) -> String
|
|
24
|
+
|
|
25
|
+
attr_reader created_at: Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt?
|
|
26
|
+
|
|
27
|
+
def created_at=: (
|
|
28
|
+
Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt
|
|
29
|
+
) -> Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt
|
|
30
|
+
|
|
31
|
+
attr_reader cursor: String?
|
|
32
|
+
|
|
33
|
+
def cursor=: (String) -> String
|
|
34
|
+
|
|
35
|
+
attr_reader limit: Integer?
|
|
36
|
+
|
|
37
|
+
def limit=: (Integer) -> Integer
|
|
38
|
+
|
|
39
|
+
def initialize: (
|
|
40
|
+
?account_id: String,
|
|
41
|
+
?account_number_id: String,
|
|
42
|
+
?created_at: Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt,
|
|
43
|
+
?cursor: String,
|
|
44
|
+
?limit: Integer,
|
|
45
|
+
?request_options: Increase::request_opts
|
|
46
|
+
) -> void
|
|
47
|
+
|
|
48
|
+
def to_hash: -> {
|
|
49
|
+
account_id: String,
|
|
50
|
+
account_number_id: String,
|
|
51
|
+
created_at: Increase::InboundRealTimePaymentsRequestsForPaymentListParams::CreatedAt,
|
|
52
|
+
cursor: String,
|
|
53
|
+
limit: Integer,
|
|
54
|
+
request_options: Increase::RequestOptions
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
type created_at =
|
|
58
|
+
{ after: Time, before: Time, on_or_after: Time, on_or_before: Time }
|
|
59
|
+
|
|
60
|
+
class CreatedAt < Increase::Internal::Type::BaseModel
|
|
61
|
+
attr_reader after: Time?
|
|
62
|
+
|
|
63
|
+
def after=: (Time) -> Time
|
|
64
|
+
|
|
65
|
+
attr_reader before: Time?
|
|
66
|
+
|
|
67
|
+
def before=: (Time) -> Time
|
|
68
|
+
|
|
69
|
+
attr_reader on_or_after: Time?
|
|
70
|
+
|
|
71
|
+
def on_or_after=: (Time) -> Time
|
|
72
|
+
|
|
73
|
+
attr_reader on_or_before: Time?
|
|
74
|
+
|
|
75
|
+
def on_or_before=: (Time) -> Time
|
|
76
|
+
|
|
77
|
+
def initialize: (
|
|
78
|
+
?after: Time,
|
|
79
|
+
?before: Time,
|
|
80
|
+
?on_or_after: Time,
|
|
81
|
+
?on_or_before: Time
|
|
82
|
+
) -> void
|
|
83
|
+
|
|
84
|
+
def to_hash: -> {
|
|
85
|
+
after: Time,
|
|
86
|
+
before: Time,
|
|
87
|
+
on_or_after: Time,
|
|
88
|
+
on_or_before: Time
|
|
89
|
+
}
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type inbound_real_time_payments_requests_for_payment_retrieve_params =
|
|
4
|
+
{ inbound_real_time_payments_request_for_payment_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class InboundRealTimePaymentsRequestsForPaymentRetrieveParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor inbound_real_time_payments_request_for_payment_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
inbound_real_time_payments_request_for_payment_id: String,
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
inbound_real_time_payments_request_for_payment_id: String,
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type physical_check_batch =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
created_at: Time,
|
|
7
|
+
idempotency_key: String?,
|
|
8
|
+
mailing_address: Increase::PhysicalCheckBatch::MailingAddress,
|
|
9
|
+
return_address: Increase::PhysicalCheckBatch::ReturnAddress,
|
|
10
|
+
shipping_method: Increase::Models::PhysicalCheckBatch::shipping_method,
|
|
11
|
+
status: Increase::Models::PhysicalCheckBatch::status,
|
|
12
|
+
type: Increase::Models::PhysicalCheckBatch::type_
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class PhysicalCheckBatch < Increase::Internal::Type::BaseModel
|
|
16
|
+
attr_accessor id: String
|
|
17
|
+
|
|
18
|
+
attr_accessor created_at: Time
|
|
19
|
+
|
|
20
|
+
attr_accessor idempotency_key: String?
|
|
21
|
+
|
|
22
|
+
attr_accessor mailing_address: Increase::PhysicalCheckBatch::MailingAddress
|
|
23
|
+
|
|
24
|
+
attr_accessor return_address: Increase::PhysicalCheckBatch::ReturnAddress
|
|
25
|
+
|
|
26
|
+
attr_accessor shipping_method: Increase::Models::PhysicalCheckBatch::shipping_method
|
|
27
|
+
|
|
28
|
+
attr_accessor status: Increase::Models::PhysicalCheckBatch::status
|
|
29
|
+
|
|
30
|
+
attr_accessor type: Increase::Models::PhysicalCheckBatch::type_
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
id: String,
|
|
34
|
+
created_at: Time,
|
|
35
|
+
idempotency_key: String?,
|
|
36
|
+
mailing_address: Increase::PhysicalCheckBatch::MailingAddress,
|
|
37
|
+
return_address: Increase::PhysicalCheckBatch::ReturnAddress,
|
|
38
|
+
shipping_method: Increase::Models::PhysicalCheckBatch::shipping_method,
|
|
39
|
+
status: Increase::Models::PhysicalCheckBatch::status,
|
|
40
|
+
type: Increase::Models::PhysicalCheckBatch::type_
|
|
41
|
+
) -> void
|
|
42
|
+
|
|
43
|
+
def to_hash: -> {
|
|
44
|
+
id: String,
|
|
45
|
+
created_at: Time,
|
|
46
|
+
idempotency_key: String?,
|
|
47
|
+
mailing_address: Increase::PhysicalCheckBatch::MailingAddress,
|
|
48
|
+
return_address: Increase::PhysicalCheckBatch::ReturnAddress,
|
|
49
|
+
shipping_method: Increase::Models::PhysicalCheckBatch::shipping_method,
|
|
50
|
+
status: Increase::Models::PhysicalCheckBatch::status,
|
|
51
|
+
type: Increase::Models::PhysicalCheckBatch::type_
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
type mailing_address =
|
|
55
|
+
{
|
|
56
|
+
city: String,
|
|
57
|
+
:line1 => String,
|
|
58
|
+
:line2 => String?,
|
|
59
|
+
name: String,
|
|
60
|
+
phone: String?,
|
|
61
|
+
postal_code: String,
|
|
62
|
+
state: String
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
class MailingAddress < Increase::Internal::Type::BaseModel
|
|
66
|
+
attr_accessor city: String
|
|
67
|
+
|
|
68
|
+
attr_accessor line1: String
|
|
69
|
+
|
|
70
|
+
attr_accessor line2: String?
|
|
71
|
+
|
|
72
|
+
attr_accessor name: String
|
|
73
|
+
|
|
74
|
+
attr_accessor phone: String?
|
|
75
|
+
|
|
76
|
+
attr_accessor postal_code: String
|
|
77
|
+
|
|
78
|
+
attr_accessor state: String
|
|
79
|
+
|
|
80
|
+
def initialize: (
|
|
81
|
+
city: String,
|
|
82
|
+
line1: String,
|
|
83
|
+
line2: String?,
|
|
84
|
+
name: String,
|
|
85
|
+
phone: String?,
|
|
86
|
+
postal_code: String,
|
|
87
|
+
state: String
|
|
88
|
+
) -> void
|
|
89
|
+
|
|
90
|
+
def to_hash: -> {
|
|
91
|
+
city: String,
|
|
92
|
+
:line1 => String,
|
|
93
|
+
:line2 => String?,
|
|
94
|
+
name: String,
|
|
95
|
+
phone: String?,
|
|
96
|
+
postal_code: String,
|
|
97
|
+
state: String
|
|
98
|
+
}
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
type return_address =
|
|
102
|
+
{
|
|
103
|
+
city: String,
|
|
104
|
+
:line1 => String,
|
|
105
|
+
:line2 => String?,
|
|
106
|
+
name: String,
|
|
107
|
+
phone: String?,
|
|
108
|
+
postal_code: String,
|
|
109
|
+
state: String
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
class ReturnAddress < Increase::Internal::Type::BaseModel
|
|
113
|
+
attr_accessor city: String
|
|
114
|
+
|
|
115
|
+
attr_accessor line1: String
|
|
116
|
+
|
|
117
|
+
attr_accessor line2: String?
|
|
118
|
+
|
|
119
|
+
attr_accessor name: String
|
|
120
|
+
|
|
121
|
+
attr_accessor phone: String?
|
|
122
|
+
|
|
123
|
+
attr_accessor postal_code: String
|
|
124
|
+
|
|
125
|
+
attr_accessor state: String
|
|
126
|
+
|
|
127
|
+
def initialize: (
|
|
128
|
+
city: String,
|
|
129
|
+
line1: String,
|
|
130
|
+
line2: String?,
|
|
131
|
+
name: String,
|
|
132
|
+
phone: String?,
|
|
133
|
+
postal_code: String,
|
|
134
|
+
state: String
|
|
135
|
+
) -> void
|
|
136
|
+
|
|
137
|
+
def to_hash: -> {
|
|
138
|
+
city: String,
|
|
139
|
+
:line1 => String,
|
|
140
|
+
:line2 => String?,
|
|
141
|
+
name: String,
|
|
142
|
+
phone: String?,
|
|
143
|
+
postal_code: String,
|
|
144
|
+
state: String
|
|
145
|
+
}
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
type shipping_method = :usps_first_class | :fedex_overnight
|
|
149
|
+
|
|
150
|
+
module ShippingMethod
|
|
151
|
+
extend Increase::Internal::Type::Enum
|
|
152
|
+
|
|
153
|
+
# USPS First Class
|
|
154
|
+
USPS_FIRST_CLASS: :usps_first_class
|
|
155
|
+
|
|
156
|
+
# FedEx Overnight
|
|
157
|
+
FEDEX_OVERNIGHT: :fedex_overnight
|
|
158
|
+
|
|
159
|
+
def self?.values: -> ::Array[Increase::Models::PhysicalCheckBatch::shipping_method]
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
type status = :pending | :completed | :canceled | :requires_attention
|
|
163
|
+
|
|
164
|
+
module Status
|
|
165
|
+
extend Increase::Internal::Type::Enum
|
|
166
|
+
|
|
167
|
+
# The batch is pending completion and is open to accepting new checks.
|
|
168
|
+
PENDING: :pending
|
|
169
|
+
|
|
170
|
+
# The batch has been completed.
|
|
171
|
+
COMPLETED: :completed
|
|
172
|
+
|
|
173
|
+
# The batch and all checks related to it have been canceled.
|
|
174
|
+
CANCELED: :canceled
|
|
175
|
+
|
|
176
|
+
# The batch requires attention from an Increase operator.
|
|
177
|
+
REQUIRES_ATTENTION: :requires_attention
|
|
178
|
+
|
|
179
|
+
def self?.values: -> ::Array[Increase::Models::PhysicalCheckBatch::status]
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
type type_ = :physical_check_batch
|
|
183
|
+
|
|
184
|
+
module Type
|
|
185
|
+
extend Increase::Internal::Type::Enum
|
|
186
|
+
|
|
187
|
+
PHYSICAL_CHECK_BATCH: :physical_check_batch
|
|
188
|
+
|
|
189
|
+
def self?.values: -> ::Array[Increase::Models::PhysicalCheckBatch::type_]
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type physical_check_batch_cancel_params =
|
|
4
|
+
{ physical_check_batch_id: String }
|
|
5
|
+
& Increase::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class PhysicalCheckBatchCancelParams < Increase::Internal::Type::BaseModel
|
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor physical_check_batch_id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
physical_check_batch_id: String,
|
|
15
|
+
?request_options: Increase::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
physical_check_batch_id: String,
|
|
20
|
+
request_options: Increase::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|