lithic 0.1.0.pre.alpha.56 → 0.1.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 +33 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +8 -0
- data/lib/lithic/models/account_activity_list_params.rb +2 -0
- data/lib/lithic/models/account_activity_list_response.rb +2 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +2 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +208 -49
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/conditional_operation.rb +5 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +19 -2
- data/lib/lithic/models/auth_rules/conditional_value.rb +4 -1
- data/lib/lithic/models/auth_rules/event_stream.rb +21 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +3 -17
- data/lib/lithic/models/auth_rules/v2_list_params.rb +16 -19
- data/lib/lithic/models/card_bulk_order.rb +106 -0
- data/lib/lithic/models/card_bulk_order_create_params.rb +52 -0
- data/lib/lithic/models/card_bulk_order_list_params.rb +61 -0
- data/lib/lithic/models/card_bulk_order_retrieve_params.rb +14 -0
- data/lib/lithic/models/card_bulk_order_update_params.rb +32 -0
- data/lib/lithic/models/card_convert_physical_params.rb +3 -0
- data/lib/lithic/models/card_create_params.rb +14 -1
- data/lib/lithic/models/card_program.rb +10 -10
- data/lib/lithic/models/card_reissue_params.rb +3 -0
- data/lib/lithic/models/card_renew_params.rb +3 -0
- data/lib/lithic/models/card_web_provision_params.rb +32 -1
- data/lib/lithic/models/card_web_provision_response.rb +98 -60
- data/lib/lithic/models/cardholder_authentication.rb +132 -0
- data/lib/lithic/models/device.rb +37 -0
- data/lib/lithic/models/digital_wallet_token_metadata.rb +141 -0
- data/lib/lithic/models/{external_bank_account_unpause_response.rb → external_bank_account.rb} +15 -16
- data/lib/lithic/models/external_payment.rb +12 -0
- data/lib/lithic/models/external_payment_create_params.rb +2 -0
- data/lib/lithic/models/external_payment_list_params.rb +2 -0
- data/lib/lithic/models/financial_account_balance.rb +112 -0
- data/lib/lithic/models/financial_accounts/statement.rb +9 -9
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +18 -0
- data/lib/lithic/models/financial_event.rb +16 -0
- data/lib/lithic/models/{funding_event_retrieve_response.rb → funding_event.rb} +9 -10
- data/lib/lithic/models/internal_transaction.rb +166 -0
- data/lib/lithic/models/management_operation_create_params.rb +6 -0
- data/lib/lithic/models/management_operation_transaction.rb +6 -0
- data/lib/lithic/models/network_total.rb +169 -0
- data/lib/lithic/models/non_pci_card.rb +10 -1
- data/lib/lithic/models/payment.rb +11 -1
- data/lib/lithic/models/payment_create_params.rb +10 -1
- data/lib/lithic/models/three_ds_authentication.rb +1259 -0
- data/lib/lithic/models/token_info.rb +42 -0
- data/lib/lithic/models/tokenization.rb +9 -111
- data/lib/lithic/models/tokenization_decline_reason.rb +27 -0
- data/lib/lithic/models/tokenization_rule_result.rb +61 -0
- data/lib/lithic/models/tokenization_tfa_reason.rb +29 -0
- data/lib/lithic/models/transaction.rb +6 -174
- data/lib/lithic/models/wallet_decisioning_info.rb +44 -0
- data/lib/lithic/models.rb +38 -0
- data/lib/lithic/resources/auth_rules/v2.rb +17 -15
- data/lib/lithic/resources/card_bulk_orders.rb +127 -0
- data/lib/lithic/resources/cards/balances.rb +2 -2
- data/lib/lithic/resources/cards.rb +14 -3
- data/lib/lithic/resources/external_bank_accounts.rb +4 -4
- data/lib/lithic/resources/financial_accounts/balances.rb +2 -2
- data/lib/lithic/resources/funding_events.rb +4 -4
- data/lib/lithic/resources/internal_transaction.rb +14 -0
- data/lib/lithic/resources/reports/settlement/network_totals.rb +4 -4
- data/lib/lithic/resources/three_ds/authentication.rb +2 -2
- data/lib/lithic/resources/tokenizations.rb +4 -4
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +23 -17
- data/manifest.yaml +1 -0
- data/rbi/lithic/client.rbi +6 -0
- data/rbi/lithic/models/account_activity_list_params.rbi +10 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +10 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +10 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +339 -80
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +25 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +29 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +2 -1
- data/rbi/lithic/models/auth_rules/event_stream.rbi +44 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +4 -60
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +27 -59
- data/rbi/lithic/models/card_bulk_order.rbi +141 -0
- data/rbi/lithic/models/card_bulk_order_create_params.rbi +92 -0
- data/rbi/lithic/models/card_bulk_order_list_params.rbi +98 -0
- data/rbi/lithic/models/card_bulk_order_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/card_bulk_order_update_params.rbi +68 -0
- data/rbi/lithic/models/card_convert_physical_params.rbi +8 -0
- data/rbi/lithic/models/card_create_params.rbi +23 -0
- data/rbi/lithic/models/card_program.rbi +10 -13
- data/rbi/lithic/models/card_reissue_params.rbi +8 -0
- data/rbi/lithic/models/card_renew_params.rbi +8 -0
- data/rbi/lithic/models/card_web_provision_params.rbi +44 -0
- data/rbi/lithic/models/card_web_provision_response.rbi +182 -102
- data/rbi/lithic/models/cardholder_authentication.rbi +296 -0
- data/rbi/lithic/models/device.rbi +54 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +290 -0
- data/rbi/lithic/models/{external_bank_account_unpause_response.rbi → external_bank_account.rbi} +26 -75
- data/rbi/lithic/models/external_payment.rbi +57 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +10 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +10 -0
- data/rbi/lithic/models/financial_account_balance.rbi +144 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +9 -9
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +90 -0
- data/rbi/lithic/models/financial_event.rbi +60 -0
- data/rbi/lithic/models/{funding_event_list_response.rbi → funding_event.rbi} +13 -35
- data/rbi/lithic/models/internal_transaction.rbi +277 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +30 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +30 -0
- data/rbi/lithic/models/network_total.rbi +226 -0
- data/rbi/lithic/models/non_pci_card.rbi +10 -0
- data/rbi/lithic/models/payment.rbi +12 -0
- data/rbi/lithic/models/payment_create_params.rbi +15 -1
- data/rbi/lithic/models/three_ds_authentication.rbi +2432 -0
- data/rbi/lithic/models/token_info.rbi +70 -0
- data/rbi/lithic/models/tokenization.rbi +12 -335
- data/rbi/lithic/models/tokenization_decline_reason.rbi +73 -0
- data/rbi/lithic/models/tokenization_rule_result.rbi +96 -0
- data/rbi/lithic/models/tokenization_tfa_reason.rbi +74 -0
- data/rbi/lithic/models/transaction.rbi +8 -410
- data/rbi/lithic/models/wallet_decisioning_info.rbi +63 -0
- data/rbi/lithic/models.rbi +38 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +15 -15
- data/rbi/lithic/resources/card_bulk_orders.rbi +101 -0
- data/rbi/lithic/resources/cards/balances.rbi +1 -3
- data/rbi/lithic/resources/cards.rbi +22 -1
- data/rbi/lithic/resources/external_bank_accounts.rbi +2 -2
- data/rbi/lithic/resources/financial_accounts/balances.rbi +1 -3
- data/rbi/lithic/resources/funding_events.rbi +2 -4
- data/rbi/lithic/resources/internal_transaction.rbi +12 -0
- data/rbi/lithic/resources/reports/settlement/network_totals.rbi +2 -8
- data/rbi/lithic/resources/three_ds/authentication.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +2 -2
- data/sig/lithic/client.rbs +4 -0
- data/sig/lithic/models/account_activity_list_params.rbs +4 -0
- data/sig/lithic/models/account_activity_list_response.rbs +4 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +135 -36
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
- data/sig/lithic/models/auth_rules/event_stream.rbs +24 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +6 -25
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +15 -25
- data/sig/lithic/models/card_bulk_order.rbs +76 -0
- data/sig/lithic/models/card_bulk_order_create_params.rbs +46 -0
- data/sig/lithic/models/card_bulk_order_list_params.rbs +56 -0
- data/sig/lithic/models/card_bulk_order_retrieve_params.rbs +15 -0
- data/sig/lithic/models/card_bulk_order_update_params.rbs +34 -0
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -0
- data/sig/lithic/models/card_create_params.rbs +9 -0
- data/sig/lithic/models/card_program.rbs +5 -7
- data/sig/lithic/models/card_reissue_params.rbs +2 -0
- data/sig/lithic/models/card_renew_params.rbs +2 -0
- data/sig/lithic/models/card_web_provision_params.rbs +26 -2
- data/sig/lithic/models/card_web_provision_response.rbs +81 -51
- data/sig/lithic/models/cardholder_authentication.rbs +98 -0
- data/sig/lithic/models/device.rbs +21 -0
- data/sig/lithic/models/digital_wallet_token_metadata.rbs +119 -0
- data/sig/lithic/models/{external_bank_account_unpause_response.rbs → external_bank_account.rbs} +17 -17
- data/sig/lithic/models/external_payment.rbs +28 -1
- data/sig/lithic/models/external_payment_create_params.rbs +8 -1
- data/sig/lithic/models/external_payment_list_params.rbs +8 -1
- data/sig/lithic/models/financial_account_balance.rbs +78 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +12 -12
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +36 -0
- data/sig/lithic/models/financial_event.rbs +32 -0
- data/sig/lithic/models/{funding_event_list_response.rbs → funding_event.rbs} +11 -11
- data/sig/lithic/models/internal_transaction.rbs +165 -0
- data/sig/lithic/models/management_operation_create_params.rbs +12 -0
- data/sig/lithic/models/management_operation_transaction.rbs +12 -0
- data/sig/lithic/models/network_total.rbs +125 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/payment.rbs +9 -0
- data/sig/lithic/models/payment_create_params.rbs +7 -0
- data/sig/lithic/models/three_ds_authentication.rbs +911 -0
- data/sig/lithic/models/token_info.rbs +36 -0
- data/sig/lithic/models/tokenization.rbs +18 -137
- data/sig/lithic/models/tokenization_decline_reason.rbs +38 -0
- data/sig/lithic/models/tokenization_rule_result.rbs +48 -0
- data/sig/lithic/models/tokenization_tfa_reason.rbs +42 -0
- data/sig/lithic/models/transaction.rbs +8 -140
- data/sig/lithic/models/wallet_decisioning_info.rbs +35 -0
- data/sig/lithic/models.rbs +38 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +9 -8
- data/sig/lithic/resources/card_bulk_orders.rbs +34 -0
- data/sig/lithic/resources/cards/balances.rbs +1 -1
- data/sig/lithic/resources/cards.rbs +5 -1
- data/sig/lithic/resources/external_bank_accounts.rbs +2 -2
- data/sig/lithic/resources/financial_accounts/balances.rbs +1 -1
- data/sig/lithic/resources/funding_events.rbs +2 -2
- data/sig/lithic/resources/internal_transaction.rbs +7 -0
- data/sig/lithic/resources/reports/settlement/network_totals.rbs +2 -2
- data/sig/lithic/resources/three_ds/authentication.rbs +1 -1
- data/sig/lithic/resources/tokenizations.rbs +2 -2
- metadata +70 -55
- data/lib/lithic/models/auth_rules/v2_create_response.rb +0 -280
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +0 -279
- data/lib/lithic/models/auth_rules/v2_list_response.rb +0 -279
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +0 -280
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +0 -284
- data/lib/lithic/models/auth_rules/v2_update_response.rb +0 -280
- data/lib/lithic/models/cards/balance_list_response.rb +0 -115
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +0 -242
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +0 -115
- data/lib/lithic/models/funding_event_list_response.rb +0 -108
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +0 -176
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +0 -176
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +0 -1288
- data/lib/lithic/models/tokenization_simulate_response.rb +0 -16
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +0 -16
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +0 -522
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +0 -522
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +0 -518
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +0 -525
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -528
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +0 -522
- data/rbi/lithic/models/cards/balance_list_response.rbi +0 -170
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +0 -375
- data/rbi/lithic/models/financial_accounts/balance_list_response.rbi +0 -174
- data/rbi/lithic/models/funding_event_retrieve_response.rbi +0 -184
- data/rbi/lithic/models/reports/settlement/network_total_list_response.rbi +0 -280
- data/rbi/lithic/models/reports/settlement/network_total_retrieve_response.rbi +0 -280
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +0 -2580
- data/rbi/lithic/models/tokenization_simulate_response.rbi +0 -33
- data/rbi/lithic/models/tokenization_update_digital_card_art_response.rbi +0 -31
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +0 -205
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +0 -205
- data/sig/lithic/models/cards/balance_list_response.rbs +0 -80
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +0 -162
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +0 -80
- data/sig/lithic/models/funding_event_retrieve_response.rbs +0 -85
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +0 -129
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +0 -129
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +0 -913
- data/sig/lithic/models/tokenization_simulate_response.rbs +0 -18
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +0 -16
|
@@ -6,73 +6,155 @@ module Lithic
|
|
|
6
6
|
type auth_rule =
|
|
7
7
|
{
|
|
8
8
|
token: String,
|
|
9
|
-
state: Lithic::Models::AuthRules::AuthRule::state,
|
|
10
9
|
account_tokens: ::Array[String],
|
|
11
|
-
|
|
12
|
-
allowed_mcc: ::Array[String],
|
|
13
|
-
blocked_countries: ::Array[String],
|
|
14
|
-
blocked_mcc: ::Array[String],
|
|
10
|
+
business_account_tokens: ::Array[String],
|
|
15
11
|
card_tokens: ::Array[String],
|
|
16
|
-
|
|
12
|
+
current_version: Lithic::AuthRules::AuthRule::CurrentVersion?,
|
|
13
|
+
draft_version: Lithic::AuthRules::AuthRule::DraftVersion?,
|
|
14
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
15
|
+
lithic_managed: bool,
|
|
16
|
+
name: String?,
|
|
17
|
+
program_level: bool,
|
|
18
|
+
state: Lithic::Models::AuthRules::AuthRule::state,
|
|
19
|
+
type: Lithic::Models::AuthRules::AuthRule::type_,
|
|
20
|
+
excluded_card_tokens: ::Array[String]
|
|
17
21
|
}
|
|
18
22
|
|
|
19
23
|
class AuthRule < Lithic::Internal::Type::BaseModel
|
|
20
24
|
attr_accessor token: String
|
|
21
25
|
|
|
22
|
-
attr_accessor
|
|
23
|
-
|
|
24
|
-
attr_reader account_tokens: ::Array[String]?
|
|
25
|
-
|
|
26
|
-
def account_tokens=: (::Array[String]) -> ::Array[String]
|
|
26
|
+
attr_accessor account_tokens: ::Array[String]
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
attr_accessor business_account_tokens: ::Array[String]
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
attr_accessor card_tokens: ::Array[String]
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
attr_accessor current_version: Lithic::AuthRules::AuthRule::CurrentVersion?
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
attr_accessor draft_version: Lithic::AuthRules::AuthRule::DraftVersion?
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
attr_accessor event_stream: Lithic::Models::AuthRules::event_stream
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
attr_accessor lithic_managed: bool
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
attr_accessor name: String?
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
attr_accessor program_level: bool
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
attr_accessor state: Lithic::Models::AuthRules::AuthRule::state
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
attr_accessor type: Lithic::Models::AuthRules::AuthRule::type_
|
|
47
47
|
|
|
48
|
-
attr_reader
|
|
48
|
+
attr_reader excluded_card_tokens: ::Array[String]?
|
|
49
49
|
|
|
50
|
-
def
|
|
50
|
+
def excluded_card_tokens=: (::Array[String]) -> ::Array[String]
|
|
51
51
|
|
|
52
52
|
def initialize: (
|
|
53
53
|
token: String,
|
|
54
|
+
account_tokens: ::Array[String],
|
|
55
|
+
business_account_tokens: ::Array[String],
|
|
56
|
+
card_tokens: ::Array[String],
|
|
57
|
+
current_version: Lithic::AuthRules::AuthRule::CurrentVersion?,
|
|
58
|
+
draft_version: Lithic::AuthRules::AuthRule::DraftVersion?,
|
|
59
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
60
|
+
lithic_managed: bool,
|
|
61
|
+
name: String?,
|
|
62
|
+
program_level: bool,
|
|
54
63
|
state: Lithic::Models::AuthRules::AuthRule::state,
|
|
55
|
-
|
|
56
|
-
?
|
|
57
|
-
?allowed_mcc: ::Array[String],
|
|
58
|
-
?blocked_countries: ::Array[String],
|
|
59
|
-
?blocked_mcc: ::Array[String],
|
|
60
|
-
?card_tokens: ::Array[String],
|
|
61
|
-
?program_level: bool
|
|
64
|
+
type: Lithic::Models::AuthRules::AuthRule::type_,
|
|
65
|
+
?excluded_card_tokens: ::Array[String]
|
|
62
66
|
) -> void
|
|
63
67
|
|
|
64
68
|
def to_hash: -> {
|
|
65
69
|
token: String,
|
|
66
|
-
state: Lithic::Models::AuthRules::AuthRule::state,
|
|
67
70
|
account_tokens: ::Array[String],
|
|
68
|
-
|
|
69
|
-
allowed_mcc: ::Array[String],
|
|
70
|
-
blocked_countries: ::Array[String],
|
|
71
|
-
blocked_mcc: ::Array[String],
|
|
71
|
+
business_account_tokens: ::Array[String],
|
|
72
72
|
card_tokens: ::Array[String],
|
|
73
|
-
|
|
73
|
+
current_version: Lithic::AuthRules::AuthRule::CurrentVersion?,
|
|
74
|
+
draft_version: Lithic::AuthRules::AuthRule::DraftVersion?,
|
|
75
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
76
|
+
lithic_managed: bool,
|
|
77
|
+
name: String?,
|
|
78
|
+
program_level: bool,
|
|
79
|
+
state: Lithic::Models::AuthRules::AuthRule::state,
|
|
80
|
+
type: Lithic::Models::AuthRules::AuthRule::type_,
|
|
81
|
+
excluded_card_tokens: ::Array[String]
|
|
74
82
|
}
|
|
75
83
|
|
|
84
|
+
type current_version =
|
|
85
|
+
{
|
|
86
|
+
parameters: Lithic::Models::AuthRules::AuthRule::CurrentVersion::parameters,
|
|
87
|
+
version: Integer
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
class CurrentVersion < Lithic::Internal::Type::BaseModel
|
|
91
|
+
attr_accessor parameters: Lithic::Models::AuthRules::AuthRule::CurrentVersion::parameters
|
|
92
|
+
|
|
93
|
+
attr_accessor version: Integer
|
|
94
|
+
|
|
95
|
+
def initialize: (
|
|
96
|
+
parameters: Lithic::Models::AuthRules::AuthRule::CurrentVersion::parameters,
|
|
97
|
+
version: Integer
|
|
98
|
+
) -> void
|
|
99
|
+
|
|
100
|
+
def to_hash: -> {
|
|
101
|
+
parameters: Lithic::Models::AuthRules::AuthRule::CurrentVersion::parameters,
|
|
102
|
+
version: Integer
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
type parameters =
|
|
106
|
+
Lithic::AuthRules::ConditionalBlockParameters
|
|
107
|
+
| Lithic::AuthRules::VelocityLimitParams
|
|
108
|
+
| Lithic::AuthRules::MerchantLockParameters
|
|
109
|
+
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
110
|
+
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
111
|
+
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
112
|
+
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
113
|
+
|
|
114
|
+
module Parameters
|
|
115
|
+
extend Lithic::Internal::Type::Union
|
|
116
|
+
|
|
117
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::AuthRule::CurrentVersion::parameters]
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
type draft_version =
|
|
122
|
+
{
|
|
123
|
+
parameters: Lithic::Models::AuthRules::AuthRule::DraftVersion::parameters,
|
|
124
|
+
version: Integer
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
class DraftVersion < Lithic::Internal::Type::BaseModel
|
|
128
|
+
attr_accessor parameters: Lithic::Models::AuthRules::AuthRule::DraftVersion::parameters
|
|
129
|
+
|
|
130
|
+
attr_accessor version: Integer
|
|
131
|
+
|
|
132
|
+
def initialize: (
|
|
133
|
+
parameters: Lithic::Models::AuthRules::AuthRule::DraftVersion::parameters,
|
|
134
|
+
version: Integer
|
|
135
|
+
) -> void
|
|
136
|
+
|
|
137
|
+
def to_hash: -> {
|
|
138
|
+
parameters: Lithic::Models::AuthRules::AuthRule::DraftVersion::parameters,
|
|
139
|
+
version: Integer
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
type parameters =
|
|
143
|
+
Lithic::AuthRules::ConditionalBlockParameters
|
|
144
|
+
| Lithic::AuthRules::VelocityLimitParams
|
|
145
|
+
| Lithic::AuthRules::MerchantLockParameters
|
|
146
|
+
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
147
|
+
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
148
|
+
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
149
|
+
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
150
|
+
|
|
151
|
+
module Parameters
|
|
152
|
+
extend Lithic::Internal::Type::Union
|
|
153
|
+
|
|
154
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::AuthRule::DraftVersion::parameters]
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
|
|
76
158
|
type state = :ACTIVE | :INACTIVE
|
|
77
159
|
|
|
78
160
|
module State
|
|
@@ -83,6 +165,23 @@ module Lithic
|
|
|
83
165
|
|
|
84
166
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::AuthRule::state]
|
|
85
167
|
end
|
|
168
|
+
|
|
169
|
+
type type_ =
|
|
170
|
+
:CONDITIONAL_BLOCK
|
|
171
|
+
| :VELOCITY_LIMIT
|
|
172
|
+
| :MERCHANT_LOCK
|
|
173
|
+
| :CONDITIONAL_ACTION
|
|
174
|
+
|
|
175
|
+
module Type
|
|
176
|
+
extend Lithic::Internal::Type::Enum
|
|
177
|
+
|
|
178
|
+
CONDITIONAL_BLOCK: :CONDITIONAL_BLOCK
|
|
179
|
+
VELOCITY_LIMIT: :VELOCITY_LIMIT
|
|
180
|
+
MERCHANT_LOCK: :MERCHANT_LOCK
|
|
181
|
+
CONDITIONAL_ACTION: :CONDITIONAL_ACTION
|
|
182
|
+
|
|
183
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::AuthRule::type_]
|
|
184
|
+
end
|
|
86
185
|
end
|
|
87
186
|
end
|
|
88
187
|
end
|
|
@@ -12,6 +12,11 @@ module Lithic
|
|
|
12
12
|
| :IS_GREATER_THAN_OR_EQUAL_TO
|
|
13
13
|
| :IS_LESS_THAN
|
|
14
14
|
| :IS_LESS_THAN_OR_EQUAL_TO
|
|
15
|
+
| :IS_AFTER
|
|
16
|
+
| :IS_BEFORE
|
|
17
|
+
| :CONTAINS_ANY
|
|
18
|
+
| :CONTAINS_ALL
|
|
19
|
+
| :CONTAINS_NONE
|
|
15
20
|
|
|
16
21
|
module ConditionalOperation
|
|
17
22
|
extend Lithic::Internal::Type::Enum
|
|
@@ -26,6 +31,11 @@ module Lithic
|
|
|
26
31
|
IS_GREATER_THAN_OR_EQUAL_TO: :IS_GREATER_THAN_OR_EQUAL_TO
|
|
27
32
|
IS_LESS_THAN: :IS_LESS_THAN
|
|
28
33
|
IS_LESS_THAN_OR_EQUAL_TO: :IS_LESS_THAN_OR_EQUAL_TO
|
|
34
|
+
IS_AFTER: :IS_AFTER
|
|
35
|
+
IS_BEFORE: :IS_BEFORE
|
|
36
|
+
CONTAINS_ANY: :CONTAINS_ANY
|
|
37
|
+
CONTAINS_ALL: :CONTAINS_ALL
|
|
38
|
+
CONTAINS_NONE: :CONTAINS_NONE
|
|
29
39
|
|
|
30
40
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::conditional_operation]
|
|
31
41
|
end
|
|
@@ -212,6 +212,7 @@ module Lithic
|
|
|
212
212
|
| :WALLET_ACCOUNT_SCORE
|
|
213
213
|
| :WALLET_DEVICE_SCORE
|
|
214
214
|
| :WALLET_RECOMMENDED_DECISION
|
|
215
|
+
| :WALLET_RECOMMENDATION_REASONS
|
|
215
216
|
| :TOKEN_REQUESTOR_ID
|
|
216
217
|
| :WALLET_TOKEN_STATUS
|
|
217
218
|
|
|
@@ -225,6 +226,7 @@ module Lithic
|
|
|
225
226
|
WALLET_ACCOUNT_SCORE: :WALLET_ACCOUNT_SCORE
|
|
226
227
|
WALLET_DEVICE_SCORE: :WALLET_DEVICE_SCORE
|
|
227
228
|
WALLET_RECOMMENDED_DECISION: :WALLET_RECOMMENDED_DECISION
|
|
229
|
+
WALLET_RECOMMENDATION_REASONS: :WALLET_RECOMMENDATION_REASONS
|
|
228
230
|
TOKEN_REQUESTOR_ID: :TOKEN_REQUESTOR_ID
|
|
229
231
|
WALLET_TOKEN_STATUS: :WALLET_TOKEN_STATUS
|
|
230
232
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module AuthRules
|
|
4
|
+
type event_stream =
|
|
5
|
+
:AUTHORIZATION
|
|
6
|
+
| :THREE_DS_AUTHENTICATION
|
|
7
|
+
| :TOKENIZATION
|
|
8
|
+
| :ACH_CREDIT_RECEIPT
|
|
9
|
+
| :ACH_DEBIT_RECEIPT
|
|
10
|
+
|
|
11
|
+
module EventStream
|
|
12
|
+
extend Lithic::Internal::Type::Enum
|
|
13
|
+
|
|
14
|
+
AUTHORIZATION: :AUTHORIZATION
|
|
15
|
+
THREE_DS_AUTHENTICATION: :THREE_DS_AUTHENTICATION
|
|
16
|
+
TOKENIZATION: :TOKENIZATION
|
|
17
|
+
ACH_CREDIT_RECEIPT: :ACH_CREDIT_RECEIPT
|
|
18
|
+
ACH_DEBIT_RECEIPT: :ACH_DEBIT_RECEIPT
|
|
19
|
+
|
|
20
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::event_stream]
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -7,7 +7,7 @@ module Lithic
|
|
|
7
7
|
type: Lithic::Models::AuthRules::V2CreateParams::type_,
|
|
8
8
|
account_tokens: ::Array[String],
|
|
9
9
|
business_account_tokens: ::Array[String],
|
|
10
|
-
event_stream: Lithic::Models::AuthRules::
|
|
10
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
11
11
|
name: String?,
|
|
12
12
|
card_tokens: ::Array[String],
|
|
13
13
|
program_level: bool,
|
|
@@ -31,11 +31,11 @@ module Lithic
|
|
|
31
31
|
|
|
32
32
|
def business_account_tokens=: (::Array[String]) -> ::Array[String]
|
|
33
33
|
|
|
34
|
-
attr_reader event_stream: Lithic::Models::AuthRules::
|
|
34
|
+
attr_reader event_stream: Lithic::Models::AuthRules::event_stream?
|
|
35
35
|
|
|
36
36
|
def event_stream=: (
|
|
37
|
-
Lithic::Models::AuthRules::
|
|
38
|
-
) -> Lithic::Models::AuthRules::
|
|
37
|
+
Lithic::Models::AuthRules::event_stream
|
|
38
|
+
) -> Lithic::Models::AuthRules::event_stream
|
|
39
39
|
|
|
40
40
|
attr_accessor name: String?
|
|
41
41
|
|
|
@@ -54,7 +54,7 @@ module Lithic
|
|
|
54
54
|
program_level: bool,
|
|
55
55
|
?account_tokens: ::Array[String],
|
|
56
56
|
?business_account_tokens: ::Array[String],
|
|
57
|
-
?event_stream: Lithic::Models::AuthRules::
|
|
57
|
+
?event_stream: Lithic::Models::AuthRules::event_stream,
|
|
58
58
|
?name: String?,
|
|
59
59
|
?excluded_card_tokens: ::Array[String],
|
|
60
60
|
?request_options: Lithic::request_opts
|
|
@@ -65,7 +65,7 @@ module Lithic
|
|
|
65
65
|
type: Lithic::Models::AuthRules::V2CreateParams::type_,
|
|
66
66
|
account_tokens: ::Array[String],
|
|
67
67
|
business_account_tokens: ::Array[String],
|
|
68
|
-
event_stream: Lithic::Models::AuthRules::
|
|
68
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
69
69
|
name: String?,
|
|
70
70
|
card_tokens: ::Array[String],
|
|
71
71
|
program_level: bool,
|
|
@@ -104,25 +104,6 @@ module Lithic
|
|
|
104
104
|
|
|
105
105
|
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2CreateParams::type_]
|
|
106
106
|
end
|
|
107
|
-
|
|
108
|
-
type event_stream =
|
|
109
|
-
:AUTHORIZATION
|
|
110
|
-
| :THREE_DS_AUTHENTICATION
|
|
111
|
-
| :TOKENIZATION
|
|
112
|
-
| :ACH_CREDIT_RECEIPT
|
|
113
|
-
| :ACH_DEBIT_RECEIPT
|
|
114
|
-
|
|
115
|
-
module EventStream
|
|
116
|
-
extend Lithic::Internal::Type::Enum
|
|
117
|
-
|
|
118
|
-
AUTHORIZATION: :AUTHORIZATION
|
|
119
|
-
THREE_DS_AUTHENTICATION: :THREE_DS_AUTHENTICATION
|
|
120
|
-
TOKENIZATION: :TOKENIZATION
|
|
121
|
-
ACH_CREDIT_RECEIPT: :ACH_CREDIT_RECEIPT
|
|
122
|
-
ACH_DEBIT_RECEIPT: :ACH_DEBIT_RECEIPT
|
|
123
|
-
|
|
124
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2CreateParams::event_stream]
|
|
125
|
-
end
|
|
126
107
|
end
|
|
127
108
|
end
|
|
128
109
|
end
|
|
@@ -7,7 +7,8 @@ module Lithic
|
|
|
7
7
|
business_account_token: String,
|
|
8
8
|
card_token: String,
|
|
9
9
|
ending_before: String,
|
|
10
|
-
event_stream: Lithic::Models::AuthRules::
|
|
10
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
11
|
+
event_streams: ::Array[Lithic::Models::AuthRules::event_stream],
|
|
11
12
|
page_size: Integer,
|
|
12
13
|
scope: Lithic::Models::AuthRules::V2ListParams::scope,
|
|
13
14
|
starting_after: String
|
|
@@ -34,11 +35,17 @@ module Lithic
|
|
|
34
35
|
|
|
35
36
|
def ending_before=: (String) -> String
|
|
36
37
|
|
|
37
|
-
attr_reader event_stream: Lithic::Models::AuthRules::
|
|
38
|
+
attr_reader event_stream: Lithic::Models::AuthRules::event_stream?
|
|
38
39
|
|
|
39
40
|
def event_stream=: (
|
|
40
|
-
Lithic::Models::AuthRules::
|
|
41
|
-
) -> Lithic::Models::AuthRules::
|
|
41
|
+
Lithic::Models::AuthRules::event_stream
|
|
42
|
+
) -> Lithic::Models::AuthRules::event_stream
|
|
43
|
+
|
|
44
|
+
attr_reader event_streams: ::Array[Lithic::Models::AuthRules::event_stream]?
|
|
45
|
+
|
|
46
|
+
def event_streams=: (
|
|
47
|
+
::Array[Lithic::Models::AuthRules::event_stream]
|
|
48
|
+
) -> ::Array[Lithic::Models::AuthRules::event_stream]
|
|
42
49
|
|
|
43
50
|
attr_reader page_size: Integer?
|
|
44
51
|
|
|
@@ -59,7 +66,8 @@ module Lithic
|
|
|
59
66
|
?business_account_token: String,
|
|
60
67
|
?card_token: String,
|
|
61
68
|
?ending_before: String,
|
|
62
|
-
?event_stream: Lithic::Models::AuthRules::
|
|
69
|
+
?event_stream: Lithic::Models::AuthRules::event_stream,
|
|
70
|
+
?event_streams: ::Array[Lithic::Models::AuthRules::event_stream],
|
|
63
71
|
?page_size: Integer,
|
|
64
72
|
?scope: Lithic::Models::AuthRules::V2ListParams::scope,
|
|
65
73
|
?starting_after: String,
|
|
@@ -71,32 +79,14 @@ module Lithic
|
|
|
71
79
|
business_account_token: String,
|
|
72
80
|
card_token: String,
|
|
73
81
|
ending_before: String,
|
|
74
|
-
event_stream: Lithic::Models::AuthRules::
|
|
82
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
83
|
+
event_streams: ::Array[Lithic::Models::AuthRules::event_stream],
|
|
75
84
|
page_size: Integer,
|
|
76
85
|
scope: Lithic::Models::AuthRules::V2ListParams::scope,
|
|
77
86
|
starting_after: String,
|
|
78
87
|
request_options: Lithic::RequestOptions
|
|
79
88
|
}
|
|
80
89
|
|
|
81
|
-
type event_stream =
|
|
82
|
-
:AUTHORIZATION
|
|
83
|
-
| :THREE_DS_AUTHENTICATION
|
|
84
|
-
| :TOKENIZATION
|
|
85
|
-
| :ACH_CREDIT_RECEIPT
|
|
86
|
-
| :ACH_DEBIT_RECEIPT
|
|
87
|
-
|
|
88
|
-
module EventStream
|
|
89
|
-
extend Lithic::Internal::Type::Enum
|
|
90
|
-
|
|
91
|
-
AUTHORIZATION: :AUTHORIZATION
|
|
92
|
-
THREE_DS_AUTHENTICATION: :THREE_DS_AUTHENTICATION
|
|
93
|
-
TOKENIZATION: :TOKENIZATION
|
|
94
|
-
ACH_CREDIT_RECEIPT: :ACH_CREDIT_RECEIPT
|
|
95
|
-
ACH_DEBIT_RECEIPT: :ACH_DEBIT_RECEIPT
|
|
96
|
-
|
|
97
|
-
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2ListParams::event_stream]
|
|
98
|
-
end
|
|
99
|
-
|
|
100
90
|
type scope = :PROGRAM | :ACCOUNT | :BUSINESS_ACCOUNT | :CARD | :ANY
|
|
101
91
|
|
|
102
92
|
module Scope
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_bulk_order =
|
|
4
|
+
{
|
|
5
|
+
token: String,
|
|
6
|
+
card_tokens: ::Array[String],
|
|
7
|
+
created: Time,
|
|
8
|
+
customer_product_id: String?,
|
|
9
|
+
shipping_address: top,
|
|
10
|
+
shipping_method: Lithic::Models::CardBulkOrder::shipping_method,
|
|
11
|
+
status: Lithic::Models::CardBulkOrder::status,
|
|
12
|
+
updated: Time
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class CardBulkOrder < Lithic::Internal::Type::BaseModel
|
|
16
|
+
attr_accessor token: String
|
|
17
|
+
|
|
18
|
+
attr_accessor card_tokens: ::Array[String]
|
|
19
|
+
|
|
20
|
+
attr_accessor created: Time
|
|
21
|
+
|
|
22
|
+
attr_accessor customer_product_id: String?
|
|
23
|
+
|
|
24
|
+
attr_accessor shipping_address: top
|
|
25
|
+
|
|
26
|
+
attr_accessor shipping_method: Lithic::Models::CardBulkOrder::shipping_method
|
|
27
|
+
|
|
28
|
+
attr_accessor status: Lithic::Models::CardBulkOrder::status
|
|
29
|
+
|
|
30
|
+
attr_accessor updated: Time
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
token: String,
|
|
34
|
+
card_tokens: ::Array[String],
|
|
35
|
+
created: Time,
|
|
36
|
+
customer_product_id: String?,
|
|
37
|
+
shipping_address: top,
|
|
38
|
+
shipping_method: Lithic::Models::CardBulkOrder::shipping_method,
|
|
39
|
+
status: Lithic::Models::CardBulkOrder::status,
|
|
40
|
+
updated: Time
|
|
41
|
+
) -> void
|
|
42
|
+
|
|
43
|
+
def to_hash: -> {
|
|
44
|
+
token: String,
|
|
45
|
+
card_tokens: ::Array[String],
|
|
46
|
+
created: Time,
|
|
47
|
+
customer_product_id: String?,
|
|
48
|
+
shipping_address: top,
|
|
49
|
+
shipping_method: Lithic::Models::CardBulkOrder::shipping_method,
|
|
50
|
+
status: Lithic::Models::CardBulkOrder::status,
|
|
51
|
+
updated: Time
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
type shipping_method = :BULK_EXPEDITED
|
|
55
|
+
|
|
56
|
+
module ShippingMethod
|
|
57
|
+
extend Lithic::Internal::Type::Enum
|
|
58
|
+
|
|
59
|
+
BULK_EXPEDITED: :BULK_EXPEDITED
|
|
60
|
+
|
|
61
|
+
def self?.values: -> ::Array[Lithic::Models::CardBulkOrder::shipping_method]
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
type status = :OPEN | :LOCKED
|
|
65
|
+
|
|
66
|
+
module Status
|
|
67
|
+
extend Lithic::Internal::Type::Enum
|
|
68
|
+
|
|
69
|
+
OPEN: :OPEN
|
|
70
|
+
LOCKED: :LOCKED
|
|
71
|
+
|
|
72
|
+
def self?.values: -> ::Array[Lithic::Models::CardBulkOrder::status]
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_bulk_order_create_params =
|
|
4
|
+
{
|
|
5
|
+
customer_product_id: String,
|
|
6
|
+
shipping_address: top,
|
|
7
|
+
shipping_method: Lithic::Models::CardBulkOrderCreateParams::shipping_method
|
|
8
|
+
}
|
|
9
|
+
& Lithic::Internal::Type::request_parameters
|
|
10
|
+
|
|
11
|
+
class CardBulkOrderCreateParams < Lithic::Internal::Type::BaseModel
|
|
12
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
13
|
+
include Lithic::Internal::Type::RequestParameters
|
|
14
|
+
|
|
15
|
+
attr_accessor customer_product_id: String
|
|
16
|
+
|
|
17
|
+
attr_accessor shipping_address: top
|
|
18
|
+
|
|
19
|
+
attr_accessor shipping_method: Lithic::Models::CardBulkOrderCreateParams::shipping_method
|
|
20
|
+
|
|
21
|
+
def initialize: (
|
|
22
|
+
customer_product_id: String,
|
|
23
|
+
shipping_address: top,
|
|
24
|
+
shipping_method: Lithic::Models::CardBulkOrderCreateParams::shipping_method,
|
|
25
|
+
?request_options: Lithic::request_opts
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
def to_hash: -> {
|
|
29
|
+
customer_product_id: String,
|
|
30
|
+
shipping_address: top,
|
|
31
|
+
shipping_method: Lithic::Models::CardBulkOrderCreateParams::shipping_method,
|
|
32
|
+
request_options: Lithic::RequestOptions
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type shipping_method = :BULK_EXPEDITED
|
|
36
|
+
|
|
37
|
+
module ShippingMethod
|
|
38
|
+
extend Lithic::Internal::Type::Enum
|
|
39
|
+
|
|
40
|
+
BULK_EXPEDITED: :BULK_EXPEDITED
|
|
41
|
+
|
|
42
|
+
def self?.values: -> ::Array[Lithic::Models::CardBulkOrderCreateParams::shipping_method]
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_bulk_order_list_params =
|
|
4
|
+
{
|
|
5
|
+
begin_: Time,
|
|
6
|
+
end_: Time,
|
|
7
|
+
ending_before: String,
|
|
8
|
+
page_size: Integer,
|
|
9
|
+
starting_after: String
|
|
10
|
+
}
|
|
11
|
+
& Lithic::Internal::Type::request_parameters
|
|
12
|
+
|
|
13
|
+
class CardBulkOrderListParams < Lithic::Internal::Type::BaseModel
|
|
14
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
15
|
+
include Lithic::Internal::Type::RequestParameters
|
|
16
|
+
|
|
17
|
+
attr_reader begin_: Time?
|
|
18
|
+
|
|
19
|
+
def begin_=: (Time) -> Time
|
|
20
|
+
|
|
21
|
+
attr_reader end_: Time?
|
|
22
|
+
|
|
23
|
+
def end_=: (Time) -> Time
|
|
24
|
+
|
|
25
|
+
attr_reader ending_before: String?
|
|
26
|
+
|
|
27
|
+
def ending_before=: (String) -> String
|
|
28
|
+
|
|
29
|
+
attr_reader page_size: Integer?
|
|
30
|
+
|
|
31
|
+
def page_size=: (Integer) -> Integer
|
|
32
|
+
|
|
33
|
+
attr_reader starting_after: String?
|
|
34
|
+
|
|
35
|
+
def starting_after=: (String) -> String
|
|
36
|
+
|
|
37
|
+
def initialize: (
|
|
38
|
+
?begin_: Time,
|
|
39
|
+
?end_: Time,
|
|
40
|
+
?ending_before: String,
|
|
41
|
+
?page_size: Integer,
|
|
42
|
+
?starting_after: String,
|
|
43
|
+
?request_options: Lithic::request_opts
|
|
44
|
+
) -> void
|
|
45
|
+
|
|
46
|
+
def to_hash: -> {
|
|
47
|
+
begin_: Time,
|
|
48
|
+
end_: Time,
|
|
49
|
+
ending_before: String,
|
|
50
|
+
page_size: Integer,
|
|
51
|
+
starting_after: String,
|
|
52
|
+
request_options: Lithic::RequestOptions
|
|
53
|
+
}
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_bulk_order_retrieve_params =
|
|
4
|
+
{ } & Lithic::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class CardBulkOrderRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: Lithic::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: Lithic::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_bulk_order_update_params =
|
|
4
|
+
{ status: Lithic::Models::CardBulkOrderUpdateParams::status }
|
|
5
|
+
& Lithic::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class CardBulkOrderUpdateParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor status: Lithic::Models::CardBulkOrderUpdateParams::status
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
status: Lithic::Models::CardBulkOrderUpdateParams::status,
|
|
15
|
+
?request_options: Lithic::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
status: Lithic::Models::CardBulkOrderUpdateParams::status,
|
|
20
|
+
request_options: Lithic::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type status = :LOCKED
|
|
24
|
+
|
|
25
|
+
module Status
|
|
26
|
+
extend Lithic::Internal::Type::Enum
|
|
27
|
+
|
|
28
|
+
LOCKED: :LOCKED
|
|
29
|
+
|
|
30
|
+
def self?.values: -> ::Array[Lithic::Models::CardBulkOrderUpdateParams::status]
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -47,6 +47,7 @@ module Lithic
|
|
|
47
47
|
|
|
48
48
|
type shipping_method =
|
|
49
49
|
:"2_DAY"
|
|
50
|
+
| :BULK_EXPEDITED
|
|
50
51
|
| :EXPEDITED
|
|
51
52
|
| :EXPRESS
|
|
52
53
|
| :PRIORITY
|
|
@@ -57,6 +58,7 @@ module Lithic
|
|
|
57
58
|
extend Lithic::Internal::Type::Enum
|
|
58
59
|
|
|
59
60
|
SHIPPING_METHOD_2_DAY: :"2_DAY"
|
|
61
|
+
BULK_EXPEDITED: :BULK_EXPEDITED
|
|
60
62
|
EXPEDITED: :EXPEDITED
|
|
61
63
|
EXPRESS: :EXPRESS
|
|
62
64
|
PRIORITY: :PRIORITY
|