From a0269b7249406610e90a84a2b2c3cc391f5896f9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:09:59 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +- lib/increase/models/card_dispute.rb | 377 +++++- .../models/card_dispute_create_params.rb | 132 +- ...d_dispute_submit_user_submission_params.rb | 134 +- lib/increase/models/card_payment.rb | 75 +- lib/increase/models/declined_transaction.rb | 27 +- lib/increase/models/export_create_params.rb | 11 +- lib/increase/models/pending_transaction.rb | 27 +- lib/increase/models/real_time_decision.rb | 30 +- .../simulations/card_dispute_action_params.rb | 124 +- lib/increase/models/transaction.rb | 29 +- lib/increase/resources/exports.rb | 2 +- rbi/increase/models/card_dispute.rbi | 1126 +++++++++++++++-- .../models/card_dispute_create_params.rbi | 404 +++++- ..._dispute_submit_user_submission_params.rbi | 404 +++++- rbi/increase/models/card_payment.rbi | 231 +++- rbi/increase/models/declined_transaction.rbi | 86 +- rbi/increase/models/export_create_params.rbi | 29 +- rbi/increase/models/pending_transaction.rbi | 86 +- rbi/increase/models/real_time_decision.rbi | 98 +- .../card_dispute_action_params.rbi | 369 +++++- rbi/increase/models/transaction.rbi | 84 +- rbi/increase/resources/exports.rbi | 2 +- sig/increase/models/card_dispute.rbs | 352 ++++-- .../models/card_dispute_create_params.rbs | 200 ++- ..._dispute_submit_user_submission_params.rbs | 200 ++- sig/increase/models/card_payment.rbs | 80 +- sig/increase/models/declined_transaction.rbs | 32 +- sig/increase/models/export_create_params.rbs | 20 +- sig/increase/models/pending_transaction.rbs | 32 +- sig/increase/models/real_time_decision.rbs | 32 +- .../card_dispute_action_params.rbs | 180 ++- sig/increase/models/transaction.rbs | 32 +- sig/increase/resources/exports.rbs | 2 +- 34 files changed, 4303 insertions(+), 750 deletions(-) diff --git a/.stats.yml b/.stats.yml index 78b249d42..fff512bc2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 228 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f07048979577d746042198f73c1bac07529dd48f26402f60def922a12b6e01e0.yml -openapi_spec_hash: 6d1ca8aa0b64f414db957540bbeab5ee +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e9e51b3c9b5c8d9e6e0267b62a12a00fedbce419b765192aa4e2470984192e1f.yml +openapi_spec_hash: 84bc91dd8b8a80edf447dddad15c23fc config_hash: eb2035151c7b49c2f12caf55469b8f9a diff --git a/lib/increase/models/card_dispute.rb b/lib/increase/models/card_dispute.rb index 269d98b70..370f115ee 100644 --- a/lib/increase/models/card_dispute.rb +++ b/lib/increase/models/card_dispute.rb @@ -292,8 +292,10 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # Visa Card Dispute Network Event, which represents that a chargeback has been # accepted by the merchant. # - # @return [Object, nil] - required :chargeback_accepted, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackAccepted, nil] + required :chargeback_accepted, + -> { Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted }, + nil?: true # @!attribute chargeback_submitted # A Card Dispute Chargeback Submitted Visa Network Event object. This field will @@ -302,8 +304,10 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # Visa Card Dispute Network Event, which represents that a chargeback has been # submitted to the network. # - # @return [Object, nil] - required :chargeback_submitted, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackSubmitted, nil] + required :chargeback_submitted, + -> { Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted }, + nil?: true # @!attribute chargeback_timed_out # A Card Dispute Chargeback Timed Out Visa Network Event object. This field will @@ -312,8 +316,10 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # Visa Card Dispute Network Event, which represents that the chargeback has timed # out in the user's favor. # - # @return [Object, nil] - required :chargeback_timed_out, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackTimedOut, nil] + required :chargeback_timed_out, + -> { Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut }, + nil?: true # @!attribute created_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -336,8 +342,10 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # Dispute Network Event, which represents that the user has declined the # merchant's request for a prearbitration request decision in their favor. # - # @return [Object, nil] - required :merchant_prearbitration_decline_submitted, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted, nil] + required :merchant_prearbitration_decline_submitted, + -> { Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted }, + nil?: true # @!attribute merchant_prearbitration_received # A Card Dispute Merchant Pre-Arbitration Received Visa Network Event object. This @@ -359,8 +367,10 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # represents that the user has timed out responding to the merchant's # prearbitration request. # - # @return [Object, nil] - required :merchant_prearbitration_timed_out, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut, nil] + required :merchant_prearbitration_timed_out, + -> { Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut }, + nil?: true # @!attribute represented # A Card Dispute Re-presented Visa Network Event object. This field will be @@ -379,8 +389,10 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # time-out Visa Card Dispute Network Event, which represents that the user did not # respond to the re-presentment by the merchant within the time limit. # - # @return [Object, nil] - required :representment_timed_out, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut, nil] + required :representment_timed_out, + -> { Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut }, + nil?: true # @!attribute user_prearbitration_accepted # A Card Dispute User Pre-Arbitration Accepted Visa Network Event object. This @@ -389,8 +401,10 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # prearbitration accepted Visa Card Dispute Network Event, which represents that # the merchant has accepted the user's prearbitration request in the user's favor. # - # @return [Object, nil] - required :user_prearbitration_accepted, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted, nil] + required :user_prearbitration_accepted, + -> { Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted }, + nil?: true # @!attribute user_prearbitration_declined # A Card Dispute User Pre-Arbitration Declined Visa Network Event object. This @@ -399,8 +413,10 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # prearbitration declined Visa Card Dispute Network Event, which represents that # the merchant has declined the user's prearbitration request. # - # @return [Object, nil] - required :user_prearbitration_declined, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined, nil] + required :user_prearbitration_declined, + -> { Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined }, + nil?: true # @!attribute user_prearbitration_submitted # A Card Dispute User Pre-Arbitration Submitted Visa Network Event object. This @@ -409,8 +425,10 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # prearbitration submitted Visa Card Dispute Network Event, which represents that # the user's request for prearbitration has been submitted to the network. # - # @return [Object, nil] - required :user_prearbitration_submitted, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted, nil] + required :user_prearbitration_submitted, + -> { Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted }, + nil?: true # @!attribute user_prearbitration_timed_out # A Card Dispute User Pre-Arbitration Timed Out Visa Network Event object. This @@ -419,8 +437,10 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # prearbitration timed out Visa Card Dispute Network Event, which represents that # the merchant has timed out responding to the user's prearbitration request. # - # @return [Object, nil] - required :user_prearbitration_timed_out, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut, nil] + required :user_prearbitration_timed_out, + -> { Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut }, + nil?: true # @!attribute user_withdrawal_submitted # A Card Dispute User Withdrawal Submitted Visa Network Event object. This field @@ -429,8 +449,10 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # submitted Visa Card Dispute Network Event, which represents that the user's # request to withdraw the dispute has been submitted to the network. # - # @return [Object, nil] - required :user_withdrawal_submitted, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted, nil] + required :user_withdrawal_submitted, + -> { Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted }, + nil?: true # @!method initialize(attachment_files:, category:, chargeback_accepted:, chargeback_submitted:, chargeback_timed_out:, created_at:, dispute_financial_transaction_id:, merchant_prearbitration_decline_submitted:, merchant_prearbitration_received:, merchant_prearbitration_timed_out:, represented:, representment_timed_out:, user_prearbitration_accepted:, user_prearbitration_declined:, user_prearbitration_submitted:, user_prearbitration_timed_out:, user_withdrawal_submitted:) # Some parameter documentations has been truncated, see @@ -440,35 +462,35 @@ class NetworkEvent < Increase::Internal::Type::BaseModel # # @param category [Symbol, Increase::Models::CardDispute::Visa::NetworkEvent::Category] The category of the user submission. We may add additional possible values for t # - # @param chargeback_accepted [Object, nil] A Card Dispute Chargeback Accepted Visa Network Event object. This field will be + # @param chargeback_accepted [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackAccepted, nil] A Card Dispute Chargeback Accepted Visa Network Event object. This field will be # - # @param chargeback_submitted [Object, nil] A Card Dispute Chargeback Submitted Visa Network Event object. This field will b + # @param chargeback_submitted [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackSubmitted, nil] A Card Dispute Chargeback Submitted Visa Network Event object. This field will b # - # @param chargeback_timed_out [Object, nil] A Card Dispute Chargeback Timed Out Visa Network Event object. This field will b + # @param chargeback_timed_out [Increase::Models::CardDispute::Visa::NetworkEvent::ChargebackTimedOut, nil] A Card Dispute Chargeback Timed Out Visa Network Event object. This field will b # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # # @param dispute_financial_transaction_id [String, nil] The dispute financial transaction that resulted from the network event, if any. # - # @param merchant_prearbitration_decline_submitted [Object, nil] A Card Dispute Merchant Pre-Arbitration Decline Submitted Visa Network Event obj + # @param merchant_prearbitration_decline_submitted [Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted, nil] A Card Dispute Merchant Pre-Arbitration Decline Submitted Visa Network Event obj # # @param merchant_prearbitration_received [Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived, nil] A Card Dispute Merchant Pre-Arbitration Received Visa Network Event object. This # - # @param merchant_prearbitration_timed_out [Object, nil] A Card Dispute Merchant Pre-Arbitration Timed Out Visa Network Event object. Thi + # @param merchant_prearbitration_timed_out [Increase::Models::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut, nil] A Card Dispute Merchant Pre-Arbitration Timed Out Visa Network Event object. Thi # # @param represented [Increase::Models::CardDispute::Visa::NetworkEvent::Represented, nil] A Card Dispute Re-presented Visa Network Event object. This field will be presen # - # @param representment_timed_out [Object, nil] A Card Dispute Re-presentment Timed Out Visa Network Event object. This field wi + # @param representment_timed_out [Increase::Models::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut, nil] A Card Dispute Re-presentment Timed Out Visa Network Event object. This field wi # - # @param user_prearbitration_accepted [Object, nil] A Card Dispute User Pre-Arbitration Accepted Visa Network Event object. This fie + # @param user_prearbitration_accepted [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted, nil] A Card Dispute User Pre-Arbitration Accepted Visa Network Event object. This fie # - # @param user_prearbitration_declined [Object, nil] A Card Dispute User Pre-Arbitration Declined Visa Network Event object. This fie + # @param user_prearbitration_declined [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined, nil] A Card Dispute User Pre-Arbitration Declined Visa Network Event object. This fie # - # @param user_prearbitration_submitted [Object, nil] A Card Dispute User Pre-Arbitration Submitted Visa Network Event object. This fi + # @param user_prearbitration_submitted [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted, nil] A Card Dispute User Pre-Arbitration Submitted Visa Network Event object. This fi # - # @param user_prearbitration_timed_out [Object, nil] A Card Dispute User Pre-Arbitration Timed Out Visa Network Event object. This fi + # @param user_prearbitration_timed_out [Increase::Models::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut, nil] A Card Dispute User Pre-Arbitration Timed Out Visa Network Event object. This fi # - # @param user_withdrawal_submitted [Object, nil] A Card Dispute User Withdrawal Submitted Visa Network Event object. This field w + # @param user_withdrawal_submitted [Increase::Models::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted, nil] A Card Dispute User Withdrawal Submitted Visa Network Event object. This field w class AttachmentFile < Increase::Internal::Type::BaseModel # @!attribute file_id @@ -532,6 +554,47 @@ module Category # @return [Array] end + # @see Increase::Models::CardDispute::Visa::NetworkEvent#chargeback_accepted + class ChargebackAccepted < Increase::Internal::Type::BaseModel + # @!method initialize + # A Card Dispute Chargeback Accepted Visa Network Event object. This field will be + # present in the JSON response if and only if `category` is equal to + # `chargeback_accepted`. Contains the details specific to a chargeback accepted + # Visa Card Dispute Network Event, which represents that a chargeback has been + # accepted by the merchant. + end + + # @see Increase::Models::CardDispute::Visa::NetworkEvent#chargeback_submitted + class ChargebackSubmitted < Increase::Internal::Type::BaseModel + # @!method initialize + # A Card Dispute Chargeback Submitted Visa Network Event object. This field will + # be present in the JSON response if and only if `category` is equal to + # `chargeback_submitted`. Contains the details specific to a chargeback submitted + # Visa Card Dispute Network Event, which represents that a chargeback has been + # submitted to the network. + end + + # @see Increase::Models::CardDispute::Visa::NetworkEvent#chargeback_timed_out + class ChargebackTimedOut < Increase::Internal::Type::BaseModel + # @!method initialize + # A Card Dispute Chargeback Timed Out Visa Network Event object. This field will + # be present in the JSON response if and only if `category` is equal to + # `chargeback_timed_out`. Contains the details specific to a chargeback timed out + # Visa Card Dispute Network Event, which represents that the chargeback has timed + # out in the user's favor. + end + + # @see Increase::Models::CardDispute::Visa::NetworkEvent#merchant_prearbitration_decline_submitted + class MerchantPrearbitrationDeclineSubmitted < Increase::Internal::Type::BaseModel + # @!method initialize + # A Card Dispute Merchant Pre-Arbitration Decline Submitted Visa Network Event + # object. This field will be present in the JSON response if and only if + # `category` is equal to `merchant_prearbitration_decline_submitted`. Contains the + # details specific to a merchant prearbitration decline submitted Visa Card + # Dispute Network Event, which represents that the user has declined the + # merchant's request for a prearbitration request decision in their favor. + end + # @see Increase::Models::CardDispute::Visa::NetworkEvent#merchant_prearbitration_received class MerchantPrearbitrationReceived < Increase::Internal::Type::BaseModel # @!attribute cardholder_no_longer_disputes @@ -959,6 +1022,17 @@ module Reason end end + # @see Increase::Models::CardDispute::Visa::NetworkEvent#merchant_prearbitration_timed_out + class MerchantPrearbitrationTimedOut < Increase::Internal::Type::BaseModel + # @!method initialize + # A Card Dispute Merchant Pre-Arbitration Timed Out Visa Network Event object. + # This field will be present in the JSON response if and only if `category` is + # equal to `merchant_prearbitration_timed_out`. Contains the details specific to a + # merchant prearbitration timed out Visa Card Dispute Network Event, which + # represents that the user has timed out responding to the merchant's + # prearbitration request. + end + # @see Increase::Models::CardDispute::Visa::NetworkEvent#represented class Represented < Increase::Internal::Type::BaseModel # @!attribute cardholder_no_longer_disputes @@ -993,9 +1067,11 @@ class Represented < Increase::Internal::Type::BaseModel # Non-fiat currency or non-fungible token as described details. Present if and # only if `reason` is `non_fiat_currency_or_non_fungible_token_as_described`. # - # @return [Object, nil] + # @return [Increase::Models::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed, nil] required :non_fiat_currency_or_non_fungible_token_as_described, - Increase::Internal::Type::Unknown, + -> { + Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed + }, nil?: true # @!attribute non_fiat_currency_or_non_fungible_token_received @@ -1050,7 +1126,7 @@ class Represented < Increase::Internal::Type::BaseModel # # @param invalid_dispute [Increase::Models::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute, nil] Invalid dispute details. Present if and only if `reason` is `invalid_dispute`. # - # @param non_fiat_currency_or_non_fungible_token_as_described [Object, nil] Non-fiat currency or non-fungible token as described details. Present if and onl + # @param non_fiat_currency_or_non_fungible_token_as_described [Increase::Models::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed, nil] Non-fiat currency or non-fungible token as described details. Present if and onl # # @param non_fiat_currency_or_non_fungible_token_received [Increase::Models::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived, nil] Non-fiat currency or non-fungible token received details. Present if and only if # @@ -1266,6 +1342,13 @@ module Reason end end + # @see Increase::Models::CardDispute::Visa::NetworkEvent::Represented#non_fiat_currency_or_non_fungible_token_as_described + class NonFiatCurrencyOrNonFungibleTokenAsDescribed < Increase::Internal::Type::BaseModel + # @!method initialize + # Non-fiat currency or non-fungible token as described details. Present if and + # only if `reason` is `non_fiat_currency_or_non_fungible_token_as_described`. + end + # @see Increase::Models::CardDispute::Visa::NetworkEvent::Represented#non_fiat_currency_or_non_fungible_token_received class NonFiatCurrencyOrNonFungibleTokenReceived < Increase::Internal::Type::BaseModel # @!attribute blockchain_transaction_hash @@ -1364,6 +1447,66 @@ class ReversalIssued < Increase::Internal::Type::BaseModel # @param explanation [String, nil] Explanation of the reversal issued by the merchant. end end + + # @see Increase::Models::CardDispute::Visa::NetworkEvent#representment_timed_out + class RepresentmentTimedOut < Increase::Internal::Type::BaseModel + # @!method initialize + # A Card Dispute Re-presentment Timed Out Visa Network Event object. This field + # will be present in the JSON response if and only if `category` is equal to + # `representment_timed_out`. Contains the details specific to a re-presentment + # time-out Visa Card Dispute Network Event, which represents that the user did not + # respond to the re-presentment by the merchant within the time limit. + end + + # @see Increase::Models::CardDispute::Visa::NetworkEvent#user_prearbitration_accepted + class UserPrearbitrationAccepted < Increase::Internal::Type::BaseModel + # @!method initialize + # A Card Dispute User Pre-Arbitration Accepted Visa Network Event object. This + # field will be present in the JSON response if and only if `category` is equal to + # `user_prearbitration_accepted`. Contains the details specific to a user + # prearbitration accepted Visa Card Dispute Network Event, which represents that + # the merchant has accepted the user's prearbitration request in the user's favor. + end + + # @see Increase::Models::CardDispute::Visa::NetworkEvent#user_prearbitration_declined + class UserPrearbitrationDeclined < Increase::Internal::Type::BaseModel + # @!method initialize + # A Card Dispute User Pre-Arbitration Declined Visa Network Event object. This + # field will be present in the JSON response if and only if `category` is equal to + # `user_prearbitration_declined`. Contains the details specific to a user + # prearbitration declined Visa Card Dispute Network Event, which represents that + # the merchant has declined the user's prearbitration request. + end + + # @see Increase::Models::CardDispute::Visa::NetworkEvent#user_prearbitration_submitted + class UserPrearbitrationSubmitted < Increase::Internal::Type::BaseModel + # @!method initialize + # A Card Dispute User Pre-Arbitration Submitted Visa Network Event object. This + # field will be present in the JSON response if and only if `category` is equal to + # `user_prearbitration_submitted`. Contains the details specific to a user + # prearbitration submitted Visa Card Dispute Network Event, which represents that + # the user's request for prearbitration has been submitted to the network. + end + + # @see Increase::Models::CardDispute::Visa::NetworkEvent#user_prearbitration_timed_out + class UserPrearbitrationTimedOut < Increase::Internal::Type::BaseModel + # @!method initialize + # A Card Dispute User Pre-Arbitration Timed Out Visa Network Event object. This + # field will be present in the JSON response if and only if `category` is equal to + # `user_prearbitration_timed_out`. Contains the details specific to a user + # prearbitration timed out Visa Card Dispute Network Event, which represents that + # the merchant has timed out responding to the user's prearbitration request. + end + + # @see Increase::Models::CardDispute::Visa::NetworkEvent#user_withdrawal_submitted + class UserWithdrawalSubmitted < Increase::Internal::Type::BaseModel + # @!method initialize + # A Card Dispute User Withdrawal Submitted Visa Network Event object. This field + # will be present in the JSON response if and only if `category` is equal to + # `user_withdrawal_submitted`. Contains the details specific to a user withdrawal + # submitted Visa Card Dispute Network Event, which represents that the user's + # request to withdraw the dispute has been submitted to the network. + end end # The category of the currently required user submission if the user wishes to @@ -1659,8 +1802,10 @@ class Chargeback < Increase::Internal::Type::BaseModel # Non-receipt of cash. Present if and only if `category` is # `consumer_non_receipt_of_cash`. # - # @return [Object, nil] - required :consumer_non_receipt_of_cash, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash, nil] + required :consumer_non_receipt_of_cash, + -> { Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash }, + nil?: true # @!attribute consumer_original_credit_transaction_not_accepted # Original Credit Transaction (OCT) not accepted. Present if and only if @@ -1772,7 +1917,7 @@ class Chargeback < Increase::Internal::Type::BaseModel # # @param consumer_merchandise_not_received [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived, nil] Merchandise not received. Present if and only if `category` is `consumer_merchan # - # @param consumer_non_receipt_of_cash [Object, nil] Non-receipt of cash. Present if and only if `category` is `consumer*non_receipt* + # @param consumer_non_receipt_of_cash [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash, nil] Non-receipt of cash. Present if and only if `category` is `consumer*non_receipt* # # @param consumer_original_credit_transaction_not_accepted [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted, nil] Original Credit Transaction (OCT) not accepted. Present if and only if `category # @@ -1913,8 +2058,12 @@ class ConsumerCanceledMerchandise < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Present if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - required :not_returned, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned, nil] + required :not_returned, + -> { + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned + }, + nil?: true # @!attribute purchase_explanation # Purchase explanation. @@ -1967,7 +2116,7 @@ class ConsumerCanceledMerchandise < Increase::Internal::Type::BaseModel # # @param merchant_resolution_attempted [Symbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::MerchantResolutionAttempted] Merchant resolution attempted. # - # @param not_returned [Object, nil] Not returned. Present if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned, nil] Not returned. Present if and only if `return_outcome` is `not_returned`. # # @param purchase_explanation [String] Purchase explanation. # @@ -2067,6 +2216,12 @@ module MerchantResolutionAttempted # @return [Array] end + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Present if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempt_explanation @@ -2374,8 +2529,12 @@ class ConsumerCanceledServices < Increase::Internal::Type::BaseModel # Other service type explanation. Present if and only if `service_type` is # `other`. # - # @return [Object, nil] - required :other, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other, nil] + required :other, + -> { + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other + }, + nil?: true # @!attribute purchase_explanation # Purchase explanation. @@ -2393,8 +2552,12 @@ class ConsumerCanceledServices < Increase::Internal::Type::BaseModel # @!attribute timeshare # Timeshare explanation. Present if and only if `service_type` is `timeshare`. # - # @return [Object, nil] - required :timeshare, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare, nil] + required :timeshare, + -> { + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare + }, + nil?: true # @!method initialize(cardholder_cancellation:, contracted_at:, guaranteed_reservation:, merchant_resolution_attempted:, other:, purchase_explanation:, service_type:, timeshare:) # Some parameter documentations has been truncated, see @@ -2412,13 +2575,13 @@ class ConsumerCanceledServices < Increase::Internal::Type::BaseModel # # @param merchant_resolution_attempted [Symbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::MerchantResolutionAttempted] Merchant resolution attempted. # - # @param other [Object, nil] Other service type explanation. Present if and only if `service_type` is `other` + # @param other [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other, nil] Other service type explanation. Present if and only if `service_type` is `other` # # @param purchase_explanation [String] Purchase explanation. # # @param service_type [Symbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::ServiceType] Service type. # - # @param timeshare [Object, nil] Timeshare explanation. Present if and only if `service_type` is `timeshare`. + # @param timeshare [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare, nil] Timeshare explanation. Present if and only if `service_type` is `timeshare`. # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices#cardholder_cancellation class CardholderCancellation < Increase::Internal::Type::BaseModel @@ -2519,6 +2682,13 @@ module MerchantResolutionAttempted # @return [Array] end + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices#other + class Other < Increase::Internal::Type::BaseModel + # @!method initialize + # Other service type explanation. Present if and only if `service_type` is + # `other`. + end + # Service type. # # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices#service_type @@ -2537,6 +2707,12 @@ module ServiceType # @!method self.values # @return [Array] end + + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices#timeshare + class Timeshare < Increase::Internal::Type::BaseModel + # @!method initialize + # Timeshare explanation. Present if and only if `service_type` is `timeshare`. + end end # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback#consumer_counterfeit_merchandise @@ -2613,8 +2789,12 @@ class ConsumerDamagedOrDefectiveMerchandise < Increase::Internal::Type::BaseMode # @!attribute not_returned # Not returned. Present if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - required :not_returned, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned, nil] + required :not_returned, + -> { + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned + }, + nil?: true # @!attribute order_and_issue_explanation # Order and issue explanation. @@ -2665,7 +2845,7 @@ class ConsumerDamagedOrDefectiveMerchandise < Increase::Internal::Type::BaseMode # # @param merchant_resolution_attempted [Symbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::MerchantResolutionAttempted] Merchant resolution attempted. # - # @param not_returned [Object, nil] Not returned. Present if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned, nil] Not returned. Present if and only if `return_outcome` is `not_returned`. # # @param order_and_issue_explanation [String] Order and issue explanation. # @@ -2693,6 +2873,12 @@ module MerchantResolutionAttempted # @return [Array] end + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Present if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempt_explanation @@ -2870,8 +3056,12 @@ class ConsumerMerchandiseMisrepresentation < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Present if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - required :not_returned, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned, nil] + required :not_returned, + -> { + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned + }, + nil?: true # @!attribute purchase_explanation # Purchase explanation. @@ -2924,7 +3114,7 @@ class ConsumerMerchandiseMisrepresentation < Increase::Internal::Type::BaseModel # # @param misrepresentation_explanation [String] Misrepresentation explanation. # - # @param not_returned [Object, nil] Not returned. Present if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned, nil] Not returned. Present if and only if `return_outcome` is `not_returned`. # # @param purchase_explanation [String] Purchase explanation. # @@ -2952,6 +3142,12 @@ module MerchantResolutionAttempted # @return [Array] end + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Present if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempt_explanation @@ -3419,8 +3615,12 @@ class ConsumerMerchandiseNotReceived < Increase::Internal::Type::BaseModel # No cancellation. Present if and only if `cancellation_outcome` is # `no_cancellation`. # - # @return [Object, nil] - required :no_cancellation, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation, nil] + required :no_cancellation, + -> { + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation + }, + nil?: true # @!attribute purchase_info_and_explanation # Purchase information and explanation. @@ -3452,7 +3652,7 @@ class ConsumerMerchandiseNotReceived < Increase::Internal::Type::BaseModel # # @param merchant_resolution_attempted [Symbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantResolutionAttempted] Merchant resolution attempted. # - # @param no_cancellation [Object, nil] No cancellation. Present if and only if `cancellation_outcome` is `no_cancellati + # @param no_cancellation [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation, nil] No cancellation. Present if and only if `cancellation_outcome` is `no_cancellati # # @param purchase_info_and_explanation [String] Purchase information and explanation. @@ -3509,8 +3709,12 @@ class Delayed < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Present if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - required :not_returned, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned, nil] + required :not_returned, + -> { + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned + }, + nil?: true # @!attribute return_attempted # Return attempted. Present if and only if `return_outcome` is `return_attempted`. @@ -3548,7 +3752,7 @@ class Delayed < Increase::Internal::Type::BaseModel # # @param explanation [String] Explanation. # - # @param not_returned [Object, nil] Not returned. Present if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned, nil] Not returned. Present if and only if `return_outcome` is `not_returned`. # # @param return_attempted [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted, nil] Return attempted. Present if and only if `return_outcome` is `return_attempted`. # @@ -3556,6 +3760,12 @@ class Delayed < Increase::Internal::Type::BaseModel # # @param returned [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::Returned, nil] Returned. Present if and only if `return_outcome` is `returned`. + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Present if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempted_at @@ -3673,6 +3883,20 @@ module MerchantResolutionAttempted # @!method self.values # @return [Array] end + + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived#no_cancellation + class NoCancellation < Increase::Internal::Type::BaseModel + # @!method initialize + # No cancellation. Present if and only if `cancellation_outcome` is + # `no_cancellation`. + end + end + + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback#consumer_non_receipt_of_cash + class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel + # @!method initialize + # Non-receipt of cash. Present if and only if `category` is + # `consumer_non_receipt_of_cash`. end # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback#consumer_original_credit_transaction_not_accepted @@ -3733,8 +3957,12 @@ class ConsumerQualityMerchandise < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Present if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - required :not_returned, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned, nil] + required :not_returned, + -> { + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned + }, + nil?: true # @!attribute ongoing_negotiations # Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations. @@ -3797,7 +4025,7 @@ class ConsumerQualityMerchandise < Increase::Internal::Type::BaseModel # # @param merchant_resolution_attempted [Symbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::MerchantResolutionAttempted] Merchant resolution attempted. # - # @param not_returned [Object, nil] Not returned. Present if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned, nil] Not returned. Present if and only if `return_outcome` is `not_returned`. # # @param ongoing_negotiations [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations, nil] Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations. # @@ -3827,6 +4055,12 @@ module MerchantResolutionAttempted # @return [Array] end + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Present if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise#ongoing_negotiations class OngoingNegotiations < Increase::Internal::Type::BaseModel # @!attribute explanation @@ -4492,8 +4726,12 @@ class ConsumerServicesNotReceived < Increase::Internal::Type::BaseModel # No cancellation. Present if and only if `cancellation_outcome` is # `no_cancellation`. # - # @return [Object, nil] - required :no_cancellation, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation, nil] + required :no_cancellation, + -> { + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation + }, + nil?: true # @!attribute purchase_info_and_explanation # Purchase information and explanation. @@ -4519,7 +4757,7 @@ class ConsumerServicesNotReceived < Increase::Internal::Type::BaseModel # # @param merchant_resolution_attempted [Symbol, Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantResolutionAttempted] Merchant resolution attempted. # - # @param no_cancellation [Object, nil] No cancellation. Present if and only if `cancellation_outcome` is `no_cancellati + # @param no_cancellation [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation, nil] No cancellation. Present if and only if `cancellation_outcome` is `no_cancellati # # @param purchase_info_and_explanation [String] Purchase information and explanation. @@ -4595,6 +4833,13 @@ module MerchantResolutionAttempted # @!method self.values # @return [Array] end + + # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived#no_cancellation + class NoCancellation < Increase::Internal::Type::BaseModel + # @!method initialize + # No cancellation. Present if and only if `cancellation_outcome` is + # `no_cancellation`. + end end # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback#fraud diff --git a/lib/increase/models/card_dispute_create_params.rb b/lib/increase/models/card_dispute_create_params.rb index 63b5065b4..0148865b4 100644 --- a/lib/increase/models/card_dispute_create_params.rb +++ b/lib/increase/models/card_dispute_create_params.rb @@ -176,8 +176,9 @@ class Visa < Increase::Internal::Type::BaseModel # Non-receipt of cash. Required if and only if `category` is # `consumer_non_receipt_of_cash`. # - # @return [Object, nil] - optional :consumer_non_receipt_of_cash, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash, nil] + optional :consumer_non_receipt_of_cash, + -> { Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash } # @!attribute consumer_original_credit_transaction_not_accepted # Original Credit Transaction (OCT) not accepted. Required if and only if @@ -269,7 +270,7 @@ class Visa < Increase::Internal::Type::BaseModel # # @param consumer_merchandise_not_received [Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived] Merchandise not received. Required if and only if `category` is `consumer_mercha # - # @param consumer_non_receipt_of_cash [Object] Non-receipt of cash. Required if and only if `category` is `consumer_non_receipt + # @param consumer_non_receipt_of_cash [Increase::Models::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash] Non-receipt of cash. Required if and only if `category` is `consumer_non_receipt # # @param consumer_original_credit_transaction_not_accepted [Increase::Models::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted] Original Credit Transaction (OCT) not accepted. Required if and only if `categor # @@ -426,8 +427,9 @@ class ConsumerCanceledMerchandise < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Required if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - optional :not_returned, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned, nil] + optional :not_returned, + -> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned } # @!attribute return_attempted # Return attempted. Required if and only if `return_outcome` is @@ -461,7 +463,7 @@ class ConsumerCanceledMerchandise < Increase::Internal::Type::BaseModel # # @param cardholder_cancellation [Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation] Cardholder cancellation. # - # @param not_returned [Object] Not returned. Required if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned] Not returned. Required if and only if `return_outcome` is `not_returned`. # # @param return_attempted [Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted] Return attempted. Required if and only if `return_outcome` is `return_attempted` # @@ -574,6 +576,12 @@ module CancellationPolicyProvided end end + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Required if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempt_explanation @@ -873,14 +881,14 @@ class ConsumerCanceledServices < Increase::Internal::Type::BaseModel # Other service type explanation. Required if and only if `service_type` is # `other`. # - # @return [Object, nil] - optional :other, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other, nil] + optional :other, -> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other } # @!attribute timeshare # Timeshare explanation. Required if and only if `service_type` is `timeshare`. # - # @return [Object, nil] - optional :timeshare, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare, nil] + optional :timeshare, -> { Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare } # @!method initialize(cardholder_cancellation:, contracted_at:, merchant_resolution_attempted:, purchase_explanation:, service_type:, guaranteed_reservation: nil, other: nil, timeshare: nil) # Some parameter documentations has been truncated, see @@ -902,9 +910,9 @@ class ConsumerCanceledServices < Increase::Internal::Type::BaseModel # # @param guaranteed_reservation [Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation] Guaranteed reservation explanation. Required if and only if `service_type` is `g # - # @param other [Object] Other service type explanation. Required if and only if `service_type` is `other + # @param other [Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other] Other service type explanation. Required if and only if `service_type` is `other # - # @param timeshare [Object] Timeshare explanation. Required if and only if `service_type` is `timeshare`. + # @param timeshare [Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare] Timeshare explanation. Required if and only if `service_type` is `timeshare`. # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices#cardholder_cancellation class CardholderCancellation < Increase::Internal::Type::BaseModel @@ -1023,6 +1031,19 @@ module Explanation # @return [Array] end end + + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices#other + class Other < Increase::Internal::Type::BaseModel + # @!method initialize + # Other service type explanation. Required if and only if `service_type` is + # `other`. + end + + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices#timeshare + class Timeshare < Increase::Internal::Type::BaseModel + # @!method initialize + # Timeshare explanation. Required if and only if `service_type` is `timeshare`. + end end # @see Increase::Models::CardDisputeCreateParams::Visa#consumer_counterfeit_merchandise @@ -1118,8 +1139,9 @@ class ConsumerDamagedOrDefectiveMerchandise < Increase::Internal::Type::BaseMode # @!attribute not_returned # Not returned. Required if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - optional :not_returned, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned, nil] + optional :not_returned, + -> { Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned } # @!attribute return_attempted # Return attempted. Required if and only if `return_outcome` is @@ -1152,7 +1174,7 @@ class ConsumerDamagedOrDefectiveMerchandise < Increase::Internal::Type::BaseMode # # @param return_outcome [Symbol, Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnOutcome] Return outcome. # - # @param not_returned [Object] Not returned. Required if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned] Not returned. Required if and only if `return_outcome` is `not_returned`. # # @param return_attempted [Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted] Return attempted. Required if and only if `return_outcome` is `return_attempted` # @@ -1193,6 +1215,12 @@ module ReturnOutcome # @return [Array] end + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Required if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempt_explanation @@ -1371,8 +1399,9 @@ class ConsumerMerchandiseMisrepresentation < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Required if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - optional :not_returned, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned, nil] + optional :not_returned, + -> { Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned } # @!attribute return_attempted # Return attempted. Required if and only if `return_outcome` is @@ -1407,7 +1436,7 @@ class ConsumerMerchandiseMisrepresentation < Increase::Internal::Type::BaseModel # # @param return_outcome [Symbol, Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnOutcome] Return outcome. # - # @param not_returned [Object] Not returned. Required if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned] Not returned. Required if and only if `return_outcome` is `not_returned`. # # @param return_attempted [Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted] Return attempted. Required if and only if `return_outcome` is `return_attempted` # @@ -1448,6 +1477,12 @@ module ReturnOutcome # @return [Array] end + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Required if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempt_explanation @@ -1886,8 +1921,9 @@ class ConsumerMerchandiseNotReceived < Increase::Internal::Type::BaseModel # No cancellation. Required if and only if `cancellation_outcome` is # `no_cancellation`. # - # @return [Object, nil] - optional :no_cancellation, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation, nil] + optional :no_cancellation, + -> { Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation } # @!method initialize(cancellation_outcome:, delivery_issue:, last_expected_receipt_at:, merchant_resolution_attempted:, purchase_info_and_explanation:, cardholder_cancellation_prior_to_expected_receipt: nil, delayed: nil, delivered_to_wrong_location: nil, merchant_cancellation: nil, no_cancellation: nil) # Some parameter documentations has been truncated, see @@ -1915,7 +1951,7 @@ class ConsumerMerchandiseNotReceived < Increase::Internal::Type::BaseModel # # @param merchant_cancellation [Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation] Merchant cancellation. Required if and only if `cancellation_outcome` is `mercha # - # @param no_cancellation [Object] No cancellation. Required if and only if `cancellation_outcome` is `no_cancellat + # @param no_cancellation [Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation] No cancellation. Required if and only if `cancellation_outcome` is `no_cancellat # Cancellation outcome. # @@ -2009,8 +2045,9 @@ class Delayed < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Required if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - optional :not_returned, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned, nil] + optional :not_returned, + -> { Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned } # @!attribute return_attempted # Return attempted. Required if and only if `return_outcome` is @@ -2038,7 +2075,7 @@ class Delayed < Increase::Internal::Type::BaseModel # # @param return_outcome [Symbol, Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnOutcome] Return outcome. # - # @param not_returned [Object] Not returned. Required if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned] Not returned. Required if and only if `return_outcome` is `not_returned`. # # @param return_attempted [Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted] Return attempted. Required if and only if `return_outcome` is `return_attempted` # @@ -2063,6 +2100,12 @@ module ReturnOutcome # @return [Array] end + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Required if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempted_at @@ -2130,6 +2173,20 @@ class MerchantCancellation < Increase::Internal::Type::BaseModel # # @param canceled_at [Date] Canceled at. end + + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived#no_cancellation + class NoCancellation < Increase::Internal::Type::BaseModel + # @!method initialize + # No cancellation. Required if and only if `cancellation_outcome` is + # `no_cancellation`. + end + end + + # @see Increase::Models::CardDisputeCreateParams::Visa#consumer_non_receipt_of_cash + class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel + # @!method initialize + # Non-receipt of cash. Required if and only if `category` is + # `consumer_non_receipt_of_cash`. end # @see Increase::Models::CardDisputeCreateParams::Visa#consumer_original_credit_transaction_not_accepted @@ -2209,8 +2266,9 @@ class ConsumerQualityMerchandise < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Required if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - optional :not_returned, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned, nil] + optional :not_returned, + -> { Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned } # @!attribute ongoing_negotiations # Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations. @@ -2251,7 +2309,7 @@ class ConsumerQualityMerchandise < Increase::Internal::Type::BaseModel # # @param return_outcome [Symbol, Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnOutcome] Return outcome. # - # @param not_returned [Object] Not returned. Required if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned] Not returned. Required if and only if `return_outcome` is `not_returned`. # # @param ongoing_negotiations [Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations] Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations. # @@ -2294,6 +2352,12 @@ module ReturnOutcome # @return [Array] end + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Required if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise#ongoing_negotiations class OngoingNegotiations < Increase::Internal::Type::BaseModel # @!attribute explanation @@ -2932,8 +2996,9 @@ class ConsumerServicesNotReceived < Increase::Internal::Type::BaseModel # No cancellation. Required if and only if `cancellation_outcome` is # `no_cancellation`. # - # @return [Object, nil] - optional :no_cancellation, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation, nil] + optional :no_cancellation, + -> { Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation } # @!method initialize(cancellation_outcome:, last_expected_receipt_at:, merchant_resolution_attempted:, purchase_info_and_explanation:, cardholder_cancellation_prior_to_expected_receipt: nil, merchant_cancellation: nil, no_cancellation: nil) # Some parameter documentations has been truncated, see @@ -2955,7 +3020,7 @@ class ConsumerServicesNotReceived < Increase::Internal::Type::BaseModel # # @param merchant_cancellation [Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation] Merchant cancellation. Required if and only if `cancellation_outcome` is `mercha # - # @param no_cancellation [Object] No cancellation. Required if and only if `cancellation_outcome` is `no_cancellat + # @param no_cancellation [Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation] No cancellation. Required if and only if `cancellation_outcome` is `no_cancellat # Cancellation outcome. # @@ -3029,6 +3094,13 @@ class MerchantCancellation < Increase::Internal::Type::BaseModel # # @param canceled_at [Date] Canceled at. end + + # @see Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived#no_cancellation + class NoCancellation < Increase::Internal::Type::BaseModel + # @!method initialize + # No cancellation. Required if and only if `cancellation_outcome` is + # `no_cancellation`. + end end # @see Increase::Models::CardDisputeCreateParams::Visa#fraud diff --git a/lib/increase/models/card_dispute_submit_user_submission_params.rb b/lib/increase/models/card_dispute_submit_user_submission_params.rb index 0b791f365..63ac67652 100644 --- a/lib/increase/models/card_dispute_submit_user_submission_params.rb +++ b/lib/increase/models/card_dispute_submit_user_submission_params.rb @@ -238,8 +238,9 @@ class Chargeback < Increase::Internal::Type::BaseModel # Non-receipt of cash. Required if and only if `category` is # `consumer_non_receipt_of_cash`. # - # @return [Object, nil] - optional :consumer_non_receipt_of_cash, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash, nil] + optional :consumer_non_receipt_of_cash, + -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash } # @!attribute consumer_original_credit_transaction_not_accepted # Original Credit Transaction (OCT) not accepted. Required if and only if @@ -333,7 +334,7 @@ class Chargeback < Increase::Internal::Type::BaseModel # # @param consumer_merchandise_not_received [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived] Merchandise not received. Required if and only if `category` is `consumer_mercha # - # @param consumer_non_receipt_of_cash [Object] Non-receipt of cash. Required if and only if `category` is `consumer_non_receipt + # @param consumer_non_receipt_of_cash [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash] Non-receipt of cash. Required if and only if `category` is `consumer_non_receipt # # @param consumer_original_credit_transaction_not_accepted [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerOriginalCreditTransactionNotAccepted] Original Credit Transaction (OCT) not accepted. Required if and only if `categor # @@ -490,8 +491,9 @@ class ConsumerCanceledMerchandise < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Required if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - optional :not_returned, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned, nil] + optional :not_returned, + -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned } # @!attribute return_attempted # Return attempted. Required if and only if `return_outcome` is @@ -526,7 +528,7 @@ class ConsumerCanceledMerchandise < Increase::Internal::Type::BaseModel # # @param cardholder_cancellation [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation] Cardholder cancellation. # - # @param not_returned [Object] Not returned. Required if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned] Not returned. Required if and only if `return_outcome` is `not_returned`. # # @param return_attempted [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted] Return attempted. Required if and only if `return_outcome` is `return_attempted` # @@ -639,6 +641,12 @@ module CancellationPolicyProvided end end + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Required if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempt_explanation @@ -938,14 +946,16 @@ class ConsumerCanceledServices < Increase::Internal::Type::BaseModel # Other service type explanation. Required if and only if `service_type` is # `other`. # - # @return [Object, nil] - optional :other, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other, nil] + optional :other, + -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other } # @!attribute timeshare # Timeshare explanation. Required if and only if `service_type` is `timeshare`. # - # @return [Object, nil] - optional :timeshare, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare, nil] + optional :timeshare, + -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare } # @!method initialize(cardholder_cancellation:, contracted_at:, merchant_resolution_attempted:, purchase_explanation:, service_type:, guaranteed_reservation: nil, other: nil, timeshare: nil) # Some parameter documentations has been truncated, see @@ -967,9 +977,9 @@ class ConsumerCanceledServices < Increase::Internal::Type::BaseModel # # @param guaranteed_reservation [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::GuaranteedReservation] Guaranteed reservation explanation. Required if and only if `service_type` is `g # - # @param other [Object] Other service type explanation. Required if and only if `service_type` is `other + # @param other [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other] Other service type explanation. Required if and only if `service_type` is `other # - # @param timeshare [Object] Timeshare explanation. Required if and only if `service_type` is `timeshare`. + # @param timeshare [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare] Timeshare explanation. Required if and only if `service_type` is `timeshare`. # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices#cardholder_cancellation class CardholderCancellation < Increase::Internal::Type::BaseModel @@ -1088,6 +1098,19 @@ module Explanation # @return [Array] end end + + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices#other + class Other < Increase::Internal::Type::BaseModel + # @!method initialize + # Other service type explanation. Required if and only if `service_type` is + # `other`. + end + + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices#timeshare + class Timeshare < Increase::Internal::Type::BaseModel + # @!method initialize + # Timeshare explanation. Required if and only if `service_type` is `timeshare`. + end end # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback#consumer_counterfeit_merchandise @@ -1183,8 +1206,9 @@ class ConsumerDamagedOrDefectiveMerchandise < Increase::Internal::Type::BaseMode # @!attribute not_returned # Not returned. Required if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - optional :not_returned, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned, nil] + optional :not_returned, + -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned } # @!attribute return_attempted # Return attempted. Required if and only if `return_outcome` is @@ -1217,7 +1241,7 @@ class ConsumerDamagedOrDefectiveMerchandise < Increase::Internal::Type::BaseMode # # @param return_outcome [Symbol, Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnOutcome] Return outcome. # - # @param not_returned [Object] Not returned. Required if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned] Not returned. Required if and only if `return_outcome` is `not_returned`. # # @param return_attempted [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted] Return attempted. Required if and only if `return_outcome` is `return_attempted` # @@ -1258,6 +1282,12 @@ module ReturnOutcome # @return [Array] end + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Required if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempt_explanation @@ -1436,8 +1466,9 @@ class ConsumerMerchandiseMisrepresentation < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Required if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - optional :not_returned, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned, nil] + optional :not_returned, + -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned } # @!attribute return_attempted # Return attempted. Required if and only if `return_outcome` is @@ -1472,7 +1503,7 @@ class ConsumerMerchandiseMisrepresentation < Increase::Internal::Type::BaseModel # # @param return_outcome [Symbol, Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnOutcome] Return outcome. # - # @param not_returned [Object] Not returned. Required if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned] Not returned. Required if and only if `return_outcome` is `not_returned`. # # @param return_attempted [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted] Return attempted. Required if and only if `return_outcome` is `return_attempted` # @@ -1513,6 +1544,12 @@ module ReturnOutcome # @return [Array] end + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Required if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempt_explanation @@ -1952,8 +1989,9 @@ class ConsumerMerchandiseNotReceived < Increase::Internal::Type::BaseModel # No cancellation. Required if and only if `cancellation_outcome` is # `no_cancellation`. # - # @return [Object, nil] - optional :no_cancellation, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation, nil] + optional :no_cancellation, + -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation } # @!method initialize(cancellation_outcome:, delivery_issue:, last_expected_receipt_at:, merchant_resolution_attempted:, purchase_info_and_explanation:, cardholder_cancellation_prior_to_expected_receipt: nil, delayed: nil, delivered_to_wrong_location: nil, merchant_cancellation: nil, no_cancellation: nil) # Some parameter documentations has been truncated, see @@ -1981,7 +2019,7 @@ class ConsumerMerchandiseNotReceived < Increase::Internal::Type::BaseModel # # @param merchant_cancellation [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation] Merchant cancellation. Required if and only if `cancellation_outcome` is `mercha # - # @param no_cancellation [Object] No cancellation. Required if and only if `cancellation_outcome` is `no_cancellat + # @param no_cancellation [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation] No cancellation. Required if and only if `cancellation_outcome` is `no_cancellat # Cancellation outcome. # @@ -2075,8 +2113,9 @@ class Delayed < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Required if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - optional :not_returned, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned, nil] + optional :not_returned, + -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned } # @!attribute return_attempted # Return attempted. Required if and only if `return_outcome` is @@ -2104,7 +2143,7 @@ class Delayed < Increase::Internal::Type::BaseModel # # @param return_outcome [Symbol, Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnOutcome] Return outcome. # - # @param not_returned [Object] Not returned. Required if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned] Not returned. Required if and only if `return_outcome` is `not_returned`. # # @param return_attempted [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted] Return attempted. Required if and only if `return_outcome` is `return_attempted` # @@ -2129,6 +2168,12 @@ module ReturnOutcome # @return [Array] end + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Required if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed#return_attempted class ReturnAttempted < Increase::Internal::Type::BaseModel # @!attribute attempted_at @@ -2196,6 +2241,20 @@ class MerchantCancellation < Increase::Internal::Type::BaseModel # # @param canceled_at [Date] Canceled at. end + + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived#no_cancellation + class NoCancellation < Increase::Internal::Type::BaseModel + # @!method initialize + # No cancellation. Required if and only if `cancellation_outcome` is + # `no_cancellation`. + end + end + + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback#consumer_non_receipt_of_cash + class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel + # @!method initialize + # Non-receipt of cash. Required if and only if `category` is + # `consumer_non_receipt_of_cash`. end # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback#consumer_original_credit_transaction_not_accepted @@ -2275,8 +2334,9 @@ class ConsumerQualityMerchandise < Increase::Internal::Type::BaseModel # @!attribute not_returned # Not returned. Required if and only if `return_outcome` is `not_returned`. # - # @return [Object, nil] - optional :not_returned, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned, nil] + optional :not_returned, + -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned } # @!attribute ongoing_negotiations # Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations. @@ -2318,7 +2378,7 @@ class ConsumerQualityMerchandise < Increase::Internal::Type::BaseModel # # @param return_outcome [Symbol, Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::ReturnOutcome] Return outcome. # - # @param not_returned [Object] Not returned. Required if and only if `return_outcome` is `not_returned`. + # @param not_returned [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned] Not returned. Required if and only if `return_outcome` is `not_returned`. # # @param ongoing_negotiations [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations] Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations. # @@ -2361,6 +2421,12 @@ module ReturnOutcome # @return [Array] end + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise#not_returned + class NotReturned < Increase::Internal::Type::BaseModel + # @!method initialize + # Not returned. Required if and only if `return_outcome` is `not_returned`. + end + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise#ongoing_negotiations class OngoingNegotiations < Increase::Internal::Type::BaseModel # @!attribute explanation @@ -2999,8 +3065,9 @@ class ConsumerServicesNotReceived < Increase::Internal::Type::BaseModel # No cancellation. Required if and only if `cancellation_outcome` is # `no_cancellation`. # - # @return [Object, nil] - optional :no_cancellation, Increase::Internal::Type::Unknown + # @return [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation, nil] + optional :no_cancellation, + -> { Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation } # @!method initialize(cancellation_outcome:, last_expected_receipt_at:, merchant_resolution_attempted:, purchase_info_and_explanation:, cardholder_cancellation_prior_to_expected_receipt: nil, merchant_cancellation: nil, no_cancellation: nil) # Some parameter documentations has been truncated, see @@ -3022,7 +3089,7 @@ class ConsumerServicesNotReceived < Increase::Internal::Type::BaseModel # # @param merchant_cancellation [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::MerchantCancellation] Merchant cancellation. Required if and only if `cancellation_outcome` is `mercha # - # @param no_cancellation [Object] No cancellation. Required if and only if `cancellation_outcome` is `no_cancellat + # @param no_cancellation [Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation] No cancellation. Required if and only if `cancellation_outcome` is `no_cancellat # Cancellation outcome. # @@ -3096,6 +3163,13 @@ class MerchantCancellation < Increase::Internal::Type::BaseModel # # @param canceled_at [Date] Canceled at. end + + # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived#no_cancellation + class NoCancellation < Increase::Internal::Type::BaseModel + # @!method initialize + # No cancellation. Required if and only if `cancellation_outcome` is + # `no_cancellation`. + end end # @see Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback#fraud diff --git a/lib/increase/models/card_payment.rb b/lib/increase/models/card_payment.rb index a30c96f4a..cf889e7cc 100644 --- a/lib/increase/models/card_payment.rb +++ b/lib/increase/models/card_payment.rb @@ -205,8 +205,8 @@ class Element < Increase::Internal::Type::BaseModel # If the category of this Transaction source is equal to `other`, this field will # contain an empty object, otherwise it will contain null. # - # @return [Object, nil] - required :other, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardPayment::Element::Other, nil] + required :other, -> { Increase::CardPayment::Element::Other }, nil?: true # @!method initialize(card_authentication:, card_authorization:, card_authorization_expiration:, card_decline:, card_financial:, card_fuel_confirmation:, card_increment:, card_refund:, card_reversal:, card_settlement:, card_validation:, category:, created_at:, other:) # Some parameter documentations has been truncated, see @@ -238,7 +238,7 @@ class Element < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will + # @param other [Increase::Models::CardPayment::Element::Other, nil] If the category of this Transaction source is equal to `other`, this field will # @see Increase::Models::CardPayment::Element#card_authentication class CardAuthentication < Increase::Internal::Type::BaseModel @@ -1374,8 +1374,10 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute pulse # Fields specific to the `pulse` network. # - # @return [Object, nil] - required :pulse, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse, nil] + required :pulse, + -> { Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse }, + nil?: true # @!attribute visa # Fields specific to the `visa` network. @@ -1392,7 +1394,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # # @param category [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param pulse [Object, nil] Fields specific to the `pulse` network. + # @param pulse [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network. # # @param visa [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network. @@ -1412,6 +1414,12 @@ module Category # @return [Array] end + # @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails#pulse + class Pulse < Increase::Internal::Type::BaseModel + # @!method initialize + # Fields specific to the `pulse` network. + end + # @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator @@ -2684,8 +2692,12 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute pulse # Fields specific to the `pulse` network. # - # @return [Object, nil] - required :pulse, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Pulse, nil] + required :pulse, + -> { + Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse + }, + nil?: true # @!attribute visa # Fields specific to the `visa` network. @@ -2702,7 +2714,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # # @param category [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param pulse [Object, nil] Fields specific to the `pulse` network. + # @param pulse [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network. # # @param visa [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network. @@ -2722,6 +2734,12 @@ module Category # @return [Array] end + # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#pulse + class Pulse < Increase::Internal::Type::BaseModel + # @!method initialize + # Fields specific to the `pulse` network. + end + # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator @@ -3940,8 +3958,12 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute pulse # Fields specific to the `pulse` network. # - # @return [Object, nil] - required :pulse, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Pulse, nil] + required :pulse, + -> { + Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse + }, + nil?: true # @!attribute visa # Fields specific to the `visa` network. @@ -3958,7 +3980,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # # @param category [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param pulse [Object, nil] Fields specific to the `pulse` network. + # @param pulse [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network. # # @param visa [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa, nil] Fields specific to the `visa` network. @@ -3978,6 +4000,12 @@ module Category # @return [Array] end + # @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails#pulse + class Pulse < Increase::Internal::Type::BaseModel + # @!method initialize + # Fields specific to the `pulse` network. + end + # @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator @@ -9026,8 +9054,12 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute pulse # Fields specific to the `pulse` network. # - # @return [Object, nil] - required :pulse, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Pulse, nil] + required :pulse, + -> { + Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse + }, + nil?: true # @!attribute visa # Fields specific to the `visa` network. @@ -9044,7 +9076,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # # @param category [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param pulse [Object, nil] Fields specific to the `pulse` network. + # @param pulse [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network. # # @param visa [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa, nil] Fields specific to the `visa` network. @@ -9064,6 +9096,12 @@ module Category # @return [Array] end + # @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails#pulse + class Pulse < Increase::Internal::Type::BaseModel + # @!method initialize + # Fields specific to the `pulse` network. + end + # @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator @@ -9480,6 +9518,13 @@ module Category # @!method self.values # @return [Array] end + + # @see Increase::Models::CardPayment::Element#other + class Other < Increase::Internal::Type::BaseModel + # @!method initialize + # If the category of this Transaction source is equal to `other`, this field will + # contain an empty object, otherwise it will contain null. + end end # @see Increase::Models::CardPayment#state diff --git a/lib/increase/models/declined_transaction.rb b/lib/increase/models/declined_transaction.rb index 31e9e7e69..e01b45adc 100644 --- a/lib/increase/models/declined_transaction.rb +++ b/lib/increase/models/declined_transaction.rb @@ -214,8 +214,8 @@ class Source < Increase::Internal::Type::BaseModel # If the category of this Transaction source is equal to `other`, this field will # contain an empty object, otherwise it will contain null. # - # @return [Object, nil] - required :other, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::DeclinedTransaction::Source::Other, nil] + required :other, -> { Increase::DeclinedTransaction::Source::Other }, nil?: true # @!attribute wire_decline # A Wire Decline object. This field will be present in the JSON response if and @@ -248,7 +248,7 @@ class Source < Increase::Internal::Type::BaseModel # # @param inbound_real_time_payments_transfer_decline [Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline, nil] An Inbound Real-Time Payments Transfer Decline object. This field will be presen # - # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will + # @param other [Increase::Models::DeclinedTransaction::Source::Other, nil] If the category of this Transaction source is equal to `other`, this field will # # @param wire_decline [Increase::Models::DeclinedTransaction::Source::WireDecline, nil] A Wire Decline object. This field will be present in the JSON response if and on @@ -1185,8 +1185,10 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute pulse # Fields specific to the `pulse` network. # - # @return [Object, nil] - required :pulse, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse, nil] + required :pulse, + -> { Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse }, + nil?: true # @!attribute visa # Fields specific to the `visa` network. @@ -1201,7 +1203,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # # @param category [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param pulse [Object, nil] Fields specific to the `pulse` network. + # @param pulse [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network. # # @param visa [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network. @@ -1221,6 +1223,12 @@ module Category # @return [Array] end + # @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails#pulse + class Pulse < Increase::Internal::Type::BaseModel + # @!method initialize + # Fields specific to the `pulse` network. + end + # @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator @@ -2225,6 +2233,13 @@ module Reason end end + # @see Increase::Models::DeclinedTransaction::Source#other + class Other < Increase::Internal::Type::BaseModel + # @!method initialize + # If the category of this Transaction source is equal to `other`, this field will + # contain an empty object, otherwise it will contain null. + end + # @see Increase::Models::DeclinedTransaction::Source#wire_decline class WireDecline < Increase::Internal::Type::BaseModel # @!attribute inbound_wire_transfer_id diff --git a/lib/increase/models/export_create_params.rb b/lib/increase/models/export_create_params.rb index 49ab6efe5..663a076c0 100644 --- a/lib/increase/models/export_create_params.rb +++ b/lib/increase/models/export_create_params.rb @@ -58,8 +58,8 @@ class ExportCreateParams < Increase::Internal::Type::BaseModel # @!attribute vendor_csv # Options for the created export. Required if `category` is equal to `vendor_csv`. # - # @return [Object, nil] - optional :vendor_csv, Increase::Internal::Type::Unknown + # @return [Increase::Models::ExportCreateParams::VendorCsv, nil] + optional :vendor_csv, -> { Increase::ExportCreateParams::VendorCsv } # @!method initialize(category:, account_statement_bai2: nil, account_statement_ofx: nil, balance_csv: nil, bookkeeping_account_balance_csv: nil, entity_csv: nil, transaction_csv: nil, vendor_csv: nil, request_options: {}) # Some parameter documentations has been truncated, see @@ -81,7 +81,7 @@ class ExportCreateParams < Increase::Internal::Type::BaseModel # @param transaction_csv [Increase::Models::ExportCreateParams::TransactionCsv] Options for the created export. Required if `category` is equal to # `transaction\_ # - # @param vendor_csv [Object] Options for the created export. Required if `category` is equal to `vendor_csv`. + # @param vendor_csv [Increase::Models::ExportCreateParams::VendorCsv] Options for the created export. Required if `category` is equal to `vendor_csv`. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -489,6 +489,11 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @param on_or_before [Time] Return results on or before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_86 end end + + class VendorCsv < Increase::Internal::Type::BaseModel + # @!method initialize + # Options for the created export. Required if `category` is equal to `vendor_csv`. + end end end end diff --git a/lib/increase/models/pending_transaction.rb b/lib/increase/models/pending_transaction.rb index 51616da5a..8a9147d08 100644 --- a/lib/increase/models/pending_transaction.rb +++ b/lib/increase/models/pending_transaction.rb @@ -284,8 +284,8 @@ class Source < Increase::Internal::Type::BaseModel # If the category of this Transaction source is equal to `other`, this field will # contain an empty object, otherwise it will contain null. # - # @return [Object, nil] - required :other, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::PendingTransaction::Source::Other, nil] + required :other, -> { Increase::PendingTransaction::Source::Other }, nil?: true # @!attribute real_time_payments_transfer_instruction # A Real-Time Payments Transfer Instruction object. This field will be present in @@ -353,7 +353,7 @@ class Source < Increase::Internal::Type::BaseModel # # @param inbound_wire_transfer_reversal [Increase::Models::PendingTransaction::Source::InboundWireTransferReversal, nil] An Inbound Wire Transfer Reversal object. This field will be present in the JSON # - # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will + # @param other [Increase::Models::PendingTransaction::Source::Other, nil] If the category of this Transaction source is equal to `other`, this field will # # @param real_time_payments_transfer_instruction [Increase::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction, nil] A Real-Time Payments Transfer Instruction object. This field will be present in # @@ -1211,8 +1211,10 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute pulse # Fields specific to the `pulse` network. # - # @return [Object, nil] - required :pulse, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse, nil] + required :pulse, + -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse }, + nil?: true # @!attribute visa # Fields specific to the `visa` network. @@ -1227,7 +1229,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # # @param category [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param pulse [Object, nil] Fields specific to the `pulse` network. + # @param pulse [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network. # # @param visa [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network. @@ -1247,6 +1249,12 @@ module Category # @return [Array] end + # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails#pulse + class Pulse < Increase::Internal::Type::BaseModel + # @!method initialize + # Fields specific to the `pulse` network. + end + # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator @@ -2059,6 +2067,13 @@ class InboundWireTransferReversal < Increase::Internal::Type::BaseModel # @param inbound_wire_transfer_id [String] The ID of the Inbound Wire Transfer that is being reversed. end + # @see Increase::Models::PendingTransaction::Source#other + class Other < Increase::Internal::Type::BaseModel + # @!method initialize + # If the category of this Transaction source is equal to `other`, this field will + # contain an empty object, otherwise it will contain null. + end + # @see Increase::Models::PendingTransaction::Source#real_time_payments_transfer_instruction class RealTimePaymentsTransferInstruction < Increase::Internal::Type::BaseModel # @!attribute amount diff --git a/lib/increase/models/real_time_decision.rb b/lib/increase/models/real_time_decision.rb index 4060c066c..a6fb0573d 100644 --- a/lib/increase/models/real_time_decision.rb +++ b/lib/increase/models/real_time_decision.rb @@ -945,8 +945,12 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute pulse # Fields specific to the `pulse` network. # - # @return [Object, nil] - required :pulse, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse, nil] + required :pulse, + -> { + Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse + }, + nil?: true # @!attribute visa # Fields specific to the `visa` network. @@ -963,7 +967,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # # @param category [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param pulse [Object, nil] Fields specific to the `pulse` network. + # @param pulse [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network. # # @param visa [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network. @@ -983,6 +987,12 @@ module Category # @return [Array] end + # @see Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails#pulse + class Pulse < Increase::Internal::Type::BaseModel + # @!method initialize + # Fields specific to the `pulse` network. + end + # @see Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator @@ -1253,8 +1263,10 @@ class RequestDetails < Increase::Internal::Type::BaseModel # @!attribute initial_authorization # Fields specific to the category `initial_authorization`. # - # @return [Object, nil] - required :initial_authorization, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization, nil] + required :initial_authorization, + -> { Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization }, + nil?: true # @!method initialize(category:, incremental_authorization:, initial_authorization:) # Some parameter documentations has been truncated, see @@ -1267,7 +1279,7 @@ class RequestDetails < Increase::Internal::Type::BaseModel # # @param incremental_authorization [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization, nil] Fields specific to the category `incremental_authorization`. # - # @param initial_authorization [Object, nil] Fields specific to the category `initial_authorization`. + # @param initial_authorization [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization, nil] Fields specific to the category `initial_authorization`. # The type of this request (e.g., an initial authorization or an incremental # authorization). @@ -1312,6 +1324,12 @@ class IncrementalAuthorization < Increase::Internal::Type::BaseModel # # @param original_card_authorization_id [String] The identifier of the card authorization this request is attempting to increment end + + # @see Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails#initial_authorization + class InitialAuthorization < Increase::Internal::Type::BaseModel + # @!method initialize + # Fields specific to the category `initial_authorization`. + end end # @see Increase::Models::RealTimeDecision::CardAuthorization#verification diff --git a/lib/increase/models/simulations/card_dispute_action_params.rb b/lib/increase/models/simulations/card_dispute_action_params.rb index 4907a88ac..dada50074 100644 --- a/lib/increase/models/simulations/card_dispute_action_params.rb +++ b/lib/increase/models/simulations/card_dispute_action_params.rb @@ -56,36 +56,39 @@ class Visa < Increase::Internal::Type::BaseModel # The parameters for accepting the chargeback. Required if and only if `action` is # `accept_chargeback`. # - # @return [Object, nil] - optional :accept_chargeback, Increase::Internal::Type::Unknown + # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::AcceptChargeback, nil] + optional :accept_chargeback, -> { Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback } # @!attribute accept_user_submission # The parameters for accepting the user submission. Required if and only if # `action` is `accept_user_submission`. # - # @return [Object, nil] - optional :accept_user_submission, Increase::Internal::Type::Unknown + # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission, nil] + optional :accept_user_submission, + -> { Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission } # @!attribute decline_user_prearbitration # The parameters for declining the prearbitration. Required if and only if # `action` is `decline_user_prearbitration`. # - # @return [Object, nil] - optional :decline_user_prearbitration, Increase::Internal::Type::Unknown + # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration, nil] + optional :decline_user_prearbitration, + -> { Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration } # @!attribute receive_merchant_prearbitration # The parameters for receiving the prearbitration. Required if and only if # `action` is `receive_merchant_prearbitration`. # - # @return [Object, nil] - optional :receive_merchant_prearbitration, Increase::Internal::Type::Unknown + # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration, nil] + optional :receive_merchant_prearbitration, + -> { Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration } # @!attribute represent # The parameters for re-presenting the dispute. Required if and only if `action` # is `represent`. # - # @return [Object, nil] - optional :represent, Increase::Internal::Type::Unknown + # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::Represent, nil] + optional :represent, -> { Increase::Simulations::CardDisputeActionParams::Visa::Represent } # @!attribute request_further_information # The parameters for requesting further information from the user. Required if and @@ -99,29 +102,33 @@ class Visa < Increase::Internal::Type::BaseModel # The parameters for timing out the chargeback. Required if and only if `action` # is `time_out_chargeback`. # - # @return [Object, nil] - optional :time_out_chargeback, Increase::Internal::Type::Unknown + # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback, nil] + optional :time_out_chargeback, + -> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback } # @!attribute time_out_merchant_prearbitration # The parameters for timing out the merchant prearbitration. Required if and only # if `action` is `time_out_merchant_prearbitration`. # - # @return [Object, nil] - optional :time_out_merchant_prearbitration, Increase::Internal::Type::Unknown + # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration, nil] + optional :time_out_merchant_prearbitration, + -> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration } # @!attribute time_out_representment # The parameters for timing out the re-presentment. Required if and only if # `action` is `time_out_representment`. # - # @return [Object, nil] - optional :time_out_representment, Increase::Internal::Type::Unknown + # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment, nil] + optional :time_out_representment, + -> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment } # @!attribute time_out_user_prearbitration # The parameters for timing out the user prearbitration. Required if and only if # `action` is `time_out_user_prearbitration`. # - # @return [Object, nil] - optional :time_out_user_prearbitration, Increase::Internal::Type::Unknown + # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration, nil] + optional :time_out_user_prearbitration, + -> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration } # @!method initialize(action:, accept_chargeback: nil, accept_user_submission: nil, decline_user_prearbitration: nil, receive_merchant_prearbitration: nil, represent: nil, request_further_information: nil, time_out_chargeback: nil, time_out_merchant_prearbitration: nil, time_out_representment: nil, time_out_user_prearbitration: nil) # Some parameter documentations has been truncated, see @@ -132,25 +139,25 @@ class Visa < Increase::Internal::Type::BaseModel # # @param action [Symbol, Increase::Models::Simulations::CardDisputeActionParams::Visa::Action] The action to take. Details specific to the action are required under the sub-ob # - # @param accept_chargeback [Object] The parameters for accepting the chargeback. Required if and only if `action` is + # @param accept_chargeback [Increase::Models::Simulations::CardDisputeActionParams::Visa::AcceptChargeback] The parameters for accepting the chargeback. Required if and only if `action` is # - # @param accept_user_submission [Object] The parameters for accepting the user submission. Required if and only if `actio + # @param accept_user_submission [Increase::Models::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission] The parameters for accepting the user submission. Required if and only if `actio # - # @param decline_user_prearbitration [Object] The parameters for declining the prearbitration. Required if and only if `action + # @param decline_user_prearbitration [Increase::Models::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration] The parameters for declining the prearbitration. Required if and only if `action # - # @param receive_merchant_prearbitration [Object] The parameters for receiving the prearbitration. Required if and only if `action + # @param receive_merchant_prearbitration [Increase::Models::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration] The parameters for receiving the prearbitration. Required if and only if `action # - # @param represent [Object] The parameters for re-presenting the dispute. Required if and only if `action` i + # @param represent [Increase::Models::Simulations::CardDisputeActionParams::Visa::Represent] The parameters for re-presenting the dispute. Required if and only if `action` i # # @param request_further_information [Increase::Models::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation] The parameters for requesting further information from the user. Required if and # - # @param time_out_chargeback [Object] The parameters for timing out the chargeback. Required if and only if `action` i + # @param time_out_chargeback [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback] The parameters for timing out the chargeback. Required if and only if `action` i # - # @param time_out_merchant_prearbitration [Object] The parameters for timing out the merchant prearbitration. Required if and only + # @param time_out_merchant_prearbitration [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration] The parameters for timing out the merchant prearbitration. Required if and only # - # @param time_out_representment [Object] The parameters for timing out the re-presentment. Required if and only if `actio + # @param time_out_representment [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment] The parameters for timing out the re-presentment. Required if and only if `actio # - # @param time_out_user_prearbitration [Object] The parameters for timing out the user prearbitration. Required if and only if ` + # @param time_out_user_prearbitration [Increase::Models::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration] The parameters for timing out the user prearbitration. Required if and only if ` # The action to take. Details specific to the action are required under the # sub-object with the same identifier as the action. @@ -193,6 +200,41 @@ module Action # @return [Array] end + # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#accept_chargeback + class AcceptChargeback < Increase::Internal::Type::BaseModel + # @!method initialize + # The parameters for accepting the chargeback. Required if and only if `action` is + # `accept_chargeback`. + end + + # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#accept_user_submission + class AcceptUserSubmission < Increase::Internal::Type::BaseModel + # @!method initialize + # The parameters for accepting the user submission. Required if and only if + # `action` is `accept_user_submission`. + end + + # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#decline_user_prearbitration + class DeclineUserPrearbitration < Increase::Internal::Type::BaseModel + # @!method initialize + # The parameters for declining the prearbitration. Required if and only if + # `action` is `decline_user_prearbitration`. + end + + # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#receive_merchant_prearbitration + class ReceiveMerchantPrearbitration < Increase::Internal::Type::BaseModel + # @!method initialize + # The parameters for receiving the prearbitration. Required if and only if + # `action` is `receive_merchant_prearbitration`. + end + + # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#represent + class Represent < Increase::Internal::Type::BaseModel + # @!method initialize + # The parameters for re-presenting the dispute. Required if and only if `action` + # is `represent`. + end + # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#request_further_information class RequestFurtherInformation < Increase::Internal::Type::BaseModel # @!attribute reason @@ -207,6 +249,34 @@ class RequestFurtherInformation < Increase::Internal::Type::BaseModel # # @param reason [String] The reason for requesting further information from the user. end + + # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#time_out_chargeback + class TimeOutChargeback < Increase::Internal::Type::BaseModel + # @!method initialize + # The parameters for timing out the chargeback. Required if and only if `action` + # is `time_out_chargeback`. + end + + # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#time_out_merchant_prearbitration + class TimeOutMerchantPrearbitration < Increase::Internal::Type::BaseModel + # @!method initialize + # The parameters for timing out the merchant prearbitration. Required if and only + # if `action` is `time_out_merchant_prearbitration`. + end + + # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#time_out_representment + class TimeOutRepresentment < Increase::Internal::Type::BaseModel + # @!method initialize + # The parameters for timing out the re-presentment. Required if and only if + # `action` is `time_out_representment`. + end + + # @see Increase::Models::Simulations::CardDisputeActionParams::Visa#time_out_user_prearbitration + class TimeOutUserPrearbitration < Increase::Internal::Type::BaseModel + # @!method initialize + # The parameters for timing out the user prearbitration. Required if and only if + # `action` is `time_out_user_prearbitration`. + end end end end diff --git a/lib/increase/models/transaction.rb b/lib/increase/models/transaction.rb index c98131278..3d14a5238 100644 --- a/lib/increase/models/transaction.rb +++ b/lib/increase/models/transaction.rb @@ -485,8 +485,8 @@ class Source < Increase::Internal::Type::BaseModel # If the category of this Transaction source is equal to `other`, this field will # contain an empty object, otherwise it will contain null. # - # @return [Object, nil] - required :other, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::Transaction::Source::Other, nil] + required :other, -> { Increase::Transaction::Source::Other }, nil?: true # @!attribute real_time_payments_transfer_acknowledgement # A Real-Time Payments Transfer Acknowledgement object. This field will be present @@ -609,7 +609,7 @@ class Source < Increase::Internal::Type::BaseModel # # @param internal_source [Increase::Models::Transaction::Source::InternalSource, nil] An Internal Source object. This field will be present in the JSON response if an # - # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will + # @param other [Increase::Models::Transaction::Source::Other, nil] If the category of this Transaction source is equal to `other`, this field will # # @param real_time_payments_transfer_acknowledgement [Increase::Models::Transaction::Source::RealTimePaymentsTransferAcknowledgement, nil] A Real-Time Payments Transfer Acknowledgement object. This field will be present # @@ -2008,8 +2008,12 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute pulse # Fields specific to the `pulse` network. # - # @return [Object, nil] - required :pulse, Increase::Internal::Type::Unknown, nil?: true + # @return [Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Pulse, nil] + required :pulse, + -> { + Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse + }, + nil?: true # @!attribute visa # Fields specific to the `visa` network. @@ -2026,7 +2030,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # # @param category [Symbol, Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param pulse [Object, nil] Fields specific to the `pulse` network. + # @param pulse [Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network. # # @param visa [Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa, nil] Fields specific to the `visa` network. @@ -2046,6 +2050,12 @@ module Category # @return [Array] end + # @see Increase::Models::Transaction::Source::CardFinancial::NetworkDetails#pulse + class Pulse < Increase::Internal::Type::BaseModel + # @!method initialize + # Fields specific to the `pulse` network. + end + # @see Increase::Models::Transaction::Source::CardFinancial::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator @@ -6957,6 +6967,13 @@ module Reason end end + # @see Increase::Models::Transaction::Source#other + class Other < Increase::Internal::Type::BaseModel + # @!method initialize + # If the category of this Transaction source is equal to `other`, this field will + # contain an empty object, otherwise it will contain null. + end + # @see Increase::Models::Transaction::Source#real_time_payments_transfer_acknowledgement class RealTimePaymentsTransferAcknowledgement < Increase::Internal::Type::BaseModel # @!attribute amount diff --git a/lib/increase/resources/exports.rb b/lib/increase/resources/exports.rb index dbf48d38f..6642e0c49 100644 --- a/lib/increase/resources/exports.rb +++ b/lib/increase/resources/exports.rb @@ -26,7 +26,7 @@ class Exports # @param transaction_csv [Increase::Models::ExportCreateParams::TransactionCsv] Options for the created export. Required if `category` is equal to # `transaction\_ # - # @param vendor_csv [Object] Options for the created export. Required if `category` is equal to `vendor_csv`. + # @param vendor_csv [Increase::Models::ExportCreateParams::VendorCsv] Options for the created export. Required if `category` is equal to `vendor_csv`. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # diff --git a/rbi/increase/models/card_dispute.rbi b/rbi/increase/models/card_dispute.rbi index b9bc40fd3..58f9640d8 100644 --- a/rbi/increase/models/card_dispute.rbi +++ b/rbi/increase/models/card_dispute.rbi @@ -434,24 +434,72 @@ module Increase # `chargeback_accepted`. Contains the details specific to a chargeback accepted # Visa Card Dispute Network Event, which represents that a chargeback has been # accepted by the merchant. - sig { returns(T.nilable(T.anything)) } - attr_accessor :chargeback_accepted + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted + ) + ) + end + attr_reader :chargeback_accepted + + sig do + params( + chargeback_accepted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted::OrHash + ) + ).void + end + attr_writer :chargeback_accepted # A Card Dispute Chargeback Submitted Visa Network Event object. This field will # be present in the JSON response if and only if `category` is equal to # `chargeback_submitted`. Contains the details specific to a chargeback submitted # Visa Card Dispute Network Event, which represents that a chargeback has been # submitted to the network. - sig { returns(T.nilable(T.anything)) } - attr_accessor :chargeback_submitted + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted + ) + ) + end + attr_reader :chargeback_submitted + + sig do + params( + chargeback_submitted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted::OrHash + ) + ).void + end + attr_writer :chargeback_submitted # A Card Dispute Chargeback Timed Out Visa Network Event object. This field will # be present in the JSON response if and only if `category` is equal to # `chargeback_timed_out`. Contains the details specific to a chargeback timed out # Visa Card Dispute Network Event, which represents that the chargeback has timed # out in the user's favor. - sig { returns(T.nilable(T.anything)) } - attr_accessor :chargeback_timed_out + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut + ) + ) + end + attr_reader :chargeback_timed_out + + sig do + params( + chargeback_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut::OrHash + ) + ).void + end + attr_writer :chargeback_timed_out # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which # the Visa Card Dispute Network Event was created. @@ -468,8 +516,24 @@ module Increase # details specific to a merchant prearbitration decline submitted Visa Card # Dispute Network Event, which represents that the user has declined the # merchant's request for a prearbitration request decision in their favor. - sig { returns(T.nilable(T.anything)) } - attr_accessor :merchant_prearbitration_decline_submitted + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted + ) + ) + end + attr_reader :merchant_prearbitration_decline_submitted + + sig do + params( + merchant_prearbitration_decline_submitted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted::OrHash + ) + ).void + end + attr_writer :merchant_prearbitration_decline_submitted # A Card Dispute Merchant Pre-Arbitration Received Visa Network Event object. This # field will be present in the JSON response if and only if `category` is equal to @@ -501,8 +565,24 @@ module Increase # merchant prearbitration timed out Visa Card Dispute Network Event, which # represents that the user has timed out responding to the merchant's # prearbitration request. - sig { returns(T.nilable(T.anything)) } - attr_accessor :merchant_prearbitration_timed_out + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut + ) + ) + end + attr_reader :merchant_prearbitration_timed_out + + sig do + params( + merchant_prearbitration_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut::OrHash + ) + ).void + end + attr_writer :merchant_prearbitration_timed_out # A Card Dispute Re-presented Visa Network Event object. This field will be # present in the JSON response if and only if `category` is equal to @@ -531,48 +611,144 @@ module Increase # `representment_timed_out`. Contains the details specific to a re-presentment # time-out Visa Card Dispute Network Event, which represents that the user did not # respond to the re-presentment by the merchant within the time limit. - sig { returns(T.nilable(T.anything)) } - attr_accessor :representment_timed_out + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut + ) + ) + end + attr_reader :representment_timed_out + + sig do + params( + representment_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut::OrHash + ) + ).void + end + attr_writer :representment_timed_out # A Card Dispute User Pre-Arbitration Accepted Visa Network Event object. This # field will be present in the JSON response if and only if `category` is equal to # `user_prearbitration_accepted`. Contains the details specific to a user # prearbitration accepted Visa Card Dispute Network Event, which represents that # the merchant has accepted the user's prearbitration request in the user's favor. - sig { returns(T.nilable(T.anything)) } - attr_accessor :user_prearbitration_accepted + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted + ) + ) + end + attr_reader :user_prearbitration_accepted + + sig do + params( + user_prearbitration_accepted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted::OrHash + ) + ).void + end + attr_writer :user_prearbitration_accepted # A Card Dispute User Pre-Arbitration Declined Visa Network Event object. This # field will be present in the JSON response if and only if `category` is equal to # `user_prearbitration_declined`. Contains the details specific to a user # prearbitration declined Visa Card Dispute Network Event, which represents that # the merchant has declined the user's prearbitration request. - sig { returns(T.nilable(T.anything)) } - attr_accessor :user_prearbitration_declined + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined + ) + ) + end + attr_reader :user_prearbitration_declined + + sig do + params( + user_prearbitration_declined: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined::OrHash + ) + ).void + end + attr_writer :user_prearbitration_declined # A Card Dispute User Pre-Arbitration Submitted Visa Network Event object. This # field will be present in the JSON response if and only if `category` is equal to # `user_prearbitration_submitted`. Contains the details specific to a user # prearbitration submitted Visa Card Dispute Network Event, which represents that # the user's request for prearbitration has been submitted to the network. - sig { returns(T.nilable(T.anything)) } - attr_accessor :user_prearbitration_submitted + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted + ) + ) + end + attr_reader :user_prearbitration_submitted + + sig do + params( + user_prearbitration_submitted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted::OrHash + ) + ).void + end + attr_writer :user_prearbitration_submitted # A Card Dispute User Pre-Arbitration Timed Out Visa Network Event object. This # field will be present in the JSON response if and only if `category` is equal to # `user_prearbitration_timed_out`. Contains the details specific to a user # prearbitration timed out Visa Card Dispute Network Event, which represents that # the merchant has timed out responding to the user's prearbitration request. - sig { returns(T.nilable(T.anything)) } - attr_accessor :user_prearbitration_timed_out + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut + ) + ) + end + attr_reader :user_prearbitration_timed_out + + sig do + params( + user_prearbitration_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut::OrHash + ) + ).void + end + attr_writer :user_prearbitration_timed_out # A Card Dispute User Withdrawal Submitted Visa Network Event object. This field # will be present in the JSON response if and only if `category` is equal to # `user_withdrawal_submitted`. Contains the details specific to a user withdrawal # submitted Visa Card Dispute Network Event, which represents that the user's # request to withdraw the dispute has been submitted to the network. - sig { returns(T.nilable(T.anything)) } - attr_accessor :user_withdrawal_submitted + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted + ) + ) + end + attr_reader :user_withdrawal_submitted + + sig do + params( + user_withdrawal_submitted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted::OrHash + ) + ).void + end + attr_writer :user_withdrawal_submitted sig do params( @@ -582,27 +758,60 @@ module Increase ], category: Increase::CardDispute::Visa::NetworkEvent::Category::OrSymbol, - chargeback_accepted: T.nilable(T.anything), - chargeback_submitted: T.nilable(T.anything), - chargeback_timed_out: T.nilable(T.anything), + chargeback_accepted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted::OrHash + ), + chargeback_submitted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted::OrHash + ), + chargeback_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut::OrHash + ), created_at: Time, dispute_financial_transaction_id: T.nilable(String), - merchant_prearbitration_decline_submitted: T.nilable(T.anything), + merchant_prearbitration_decline_submitted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted::OrHash + ), merchant_prearbitration_received: T.nilable( Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::OrHash ), - merchant_prearbitration_timed_out: T.nilable(T.anything), + merchant_prearbitration_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut::OrHash + ), represented: T.nilable( Increase::CardDispute::Visa::NetworkEvent::Represented::OrHash ), - representment_timed_out: T.nilable(T.anything), - user_prearbitration_accepted: T.nilable(T.anything), - user_prearbitration_declined: T.nilable(T.anything), - user_prearbitration_submitted: T.nilable(T.anything), - user_prearbitration_timed_out: T.nilable(T.anything), - user_withdrawal_submitted: T.nilable(T.anything) + representment_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut::OrHash + ), + user_prearbitration_accepted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted::OrHash + ), + user_prearbitration_declined: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined::OrHash + ), + user_prearbitration_submitted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted::OrHash + ), + user_prearbitration_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut::OrHash + ), + user_withdrawal_submitted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted::OrHash + ) ).returns(T.attached_class) end def self.new( @@ -709,28 +918,60 @@ module Increase ], category: Increase::CardDispute::Visa::NetworkEvent::Category::TaggedSymbol, - chargeback_accepted: T.nilable(T.anything), - chargeback_submitted: T.nilable(T.anything), - chargeback_timed_out: T.nilable(T.anything), + chargeback_accepted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted + ), + chargeback_submitted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted + ), + chargeback_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut + ), created_at: Time, dispute_financial_transaction_id: T.nilable(String), merchant_prearbitration_decline_submitted: - T.nilable(T.anything), + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted + ), merchant_prearbitration_received: T.nilable( Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived ), - merchant_prearbitration_timed_out: T.nilable(T.anything), + merchant_prearbitration_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut + ), represented: T.nilable( Increase::CardDispute::Visa::NetworkEvent::Represented ), - representment_timed_out: T.nilable(T.anything), - user_prearbitration_accepted: T.nilable(T.anything), - user_prearbitration_declined: T.nilable(T.anything), - user_prearbitration_submitted: T.nilable(T.anything), - user_prearbitration_timed_out: T.nilable(T.anything), - user_withdrawal_submitted: T.nilable(T.anything) + representment_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut + ), + user_prearbitration_accepted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted + ), + user_prearbitration_declined: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined + ), + user_prearbitration_submitted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted + ), + user_prearbitration_timed_out: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut + ), + user_withdrawal_submitted: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted + ) } ) end @@ -879,6 +1120,99 @@ module Increase end end + class ChargebackAccepted < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted, + Increase::Internal::AnyHash + ) + end + + # A Card Dispute Chargeback Accepted Visa Network Event object. This field will be + # present in the JSON response if and only if `category` is equal to + # `chargeback_accepted`. Contains the details specific to a chargeback accepted + # Visa Card Dispute Network Event, which represents that a chargeback has been + # accepted by the merchant. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class ChargebackSubmitted < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted, + Increase::Internal::AnyHash + ) + end + + # A Card Dispute Chargeback Submitted Visa Network Event object. This field will + # be present in the JSON response if and only if `category` is equal to + # `chargeback_submitted`. Contains the details specific to a chargeback submitted + # Visa Card Dispute Network Event, which represents that a chargeback has been + # submitted to the network. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class ChargebackTimedOut < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut, + Increase::Internal::AnyHash + ) + end + + # A Card Dispute Chargeback Timed Out Visa Network Event object. This field will + # be present in the JSON response if and only if `category` is equal to + # `chargeback_timed_out`. Contains the details specific to a chargeback timed out + # Visa Card Dispute Network Event, which represents that the chargeback has timed + # out in the user's favor. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class MerchantPrearbitrationDeclineSubmitted < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted, + Increase::Internal::AnyHash + ) + end + + # A Card Dispute Merchant Pre-Arbitration Decline Submitted Visa Network Event + # object. This field will be present in the JSON response if and only if + # `category` is equal to `merchant_prearbitration_decline_submitted`. Contains the + # details specific to a merchant prearbitration decline submitted Visa Card + # Dispute Network Event, which represents that the user has declined the + # merchant's request for a prearbitration request decision in their favor. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class MerchantPrearbitrationReceived < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -1765,6 +2099,30 @@ module Increase end end + class MerchantPrearbitrationTimedOut < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut, + Increase::Internal::AnyHash + ) + end + + # A Card Dispute Merchant Pre-Arbitration Timed Out Visa Network Event object. + # This field will be present in the JSON response if and only if `category` is + # equal to `merchant_prearbitration_timed_out`. Contains the details specific to a + # merchant prearbitration timed out Visa Card Dispute Network Event, which + # represents that the user has timed out responding to the merchant's + # prearbitration request. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class Represented < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -1838,8 +2196,24 @@ module Increase # Non-fiat currency or non-fungible token as described details. Present if and # only if `reason` is `non_fiat_currency_or_non_fungible_token_as_described`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :non_fiat_currency_or_non_fungible_token_as_described + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed + ) + ) + end + attr_reader :non_fiat_currency_or_non_fungible_token_as_described + + sig do + params( + non_fiat_currency_or_non_fungible_token_as_described: + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed::OrHash + ) + ).void + end + attr_writer :non_fiat_currency_or_non_fungible_token_as_described # Non-fiat currency or non-fungible token received details. Present if and only if # `reason` is `non_fiat_currency_or_non_fungible_token_received`. @@ -1932,7 +2306,9 @@ module Increase Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute::OrHash ), non_fiat_currency_or_non_fungible_token_as_described: - T.nilable(T.anything), + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed::OrHash + ), non_fiat_currency_or_non_fungible_token_received: T.nilable( Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived::OrHash @@ -1991,7 +2367,9 @@ module Increase Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute ), non_fiat_currency_or_non_fungible_token_as_described: - T.nilable(T.anything), + T.nilable( + Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed + ), non_fiat_currency_or_non_fungible_token_received: T.nilable( Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived @@ -2420,6 +2798,26 @@ module Increase end end + class NonFiatCurrencyOrNonFungibleTokenAsDescribed < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed, + Increase::Internal::AnyHash + ) + end + + # Non-fiat currency or non-fungible token as described details. Present if and + # only if `reason` is `non_fiat_currency_or_non_fungible_token_as_described`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class NonFiatCurrencyOrNonFungibleTokenReceived < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -2606,6 +3004,144 @@ module Increase end end end + + class RepresentmentTimedOut < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut, + Increase::Internal::AnyHash + ) + end + + # A Card Dispute Re-presentment Timed Out Visa Network Event object. This field + # will be present in the JSON response if and only if `category` is equal to + # `representment_timed_out`. Contains the details specific to a re-presentment + # time-out Visa Card Dispute Network Event, which represents that the user did not + # respond to the re-presentment by the merchant within the time limit. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class UserPrearbitrationAccepted < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted, + Increase::Internal::AnyHash + ) + end + + # A Card Dispute User Pre-Arbitration Accepted Visa Network Event object. This + # field will be present in the JSON response if and only if `category` is equal to + # `user_prearbitration_accepted`. Contains the details specific to a user + # prearbitration accepted Visa Card Dispute Network Event, which represents that + # the merchant has accepted the user's prearbitration request in the user's favor. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class UserPrearbitrationDeclined < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined, + Increase::Internal::AnyHash + ) + end + + # A Card Dispute User Pre-Arbitration Declined Visa Network Event object. This + # field will be present in the JSON response if and only if `category` is equal to + # `user_prearbitration_declined`. Contains the details specific to a user + # prearbitration declined Visa Card Dispute Network Event, which represents that + # the merchant has declined the user's prearbitration request. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class UserPrearbitrationSubmitted < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted, + Increase::Internal::AnyHash + ) + end + + # A Card Dispute User Pre-Arbitration Submitted Visa Network Event object. This + # field will be present in the JSON response if and only if `category` is equal to + # `user_prearbitration_submitted`. Contains the details specific to a user + # prearbitration submitted Visa Card Dispute Network Event, which represents that + # the user's request for prearbitration has been submitted to the network. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class UserPrearbitrationTimedOut < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut, + Increase::Internal::AnyHash + ) + end + + # A Card Dispute User Pre-Arbitration Timed Out Visa Network Event object. This + # field will be present in the JSON response if and only if `category` is equal to + # `user_prearbitration_timed_out`. Contains the details specific to a user + # prearbitration timed out Visa Card Dispute Network Event, which represents that + # the merchant has timed out responding to the user's prearbitration request. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class UserWithdrawalSubmitted < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted, + Increase::Internal::AnyHash + ) + end + + # A Card Dispute User Withdrawal Submitted Visa Network Event object. This field + # will be present in the JSON response if and only if `category` is equal to + # `user_withdrawal_submitted`. Contains the details specific to a user withdrawal + # submitted Visa Card Dispute Network Event, which represents that the user's + # request to withdraw the dispute has been submitted to the network. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end end # The category of the currently required user submission if the user wishes to @@ -3199,8 +3735,24 @@ module Increase # Non-receipt of cash. Present if and only if `category` is # `consumer_non_receipt_of_cash`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :consumer_non_receipt_of_cash + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash + ) + ) + end + attr_reader :consumer_non_receipt_of_cash + + sig do + params( + consumer_non_receipt_of_cash: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash::OrHash + ) + ).void + end + attr_writer :consumer_non_receipt_of_cash # Original Credit Transaction (OCT) not accepted. Present if and only if # `category` is `consumer_original_credit_transaction_not_accepted`. @@ -3416,7 +3968,10 @@ module Increase T.nilable( Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::OrHash ), - consumer_non_receipt_of_cash: T.nilable(T.anything), + consumer_non_receipt_of_cash: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash::OrHash + ), consumer_original_credit_transaction_not_accepted: T.nilable( Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted::OrHash @@ -3556,7 +4111,10 @@ module Increase T.nilable( Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived ), - consumer_non_receipt_of_cash: T.nilable(T.anything), + consumer_non_receipt_of_cash: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash + ), consumer_original_credit_transaction_not_accepted: T.nilable( Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted @@ -3877,8 +4435,24 @@ module Increase attr_accessor :merchant_resolution_attempted # Not returned. Present if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :not_returned + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned + ) + ) + end + attr_reader :not_returned + + sig do + params( + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned::OrHash + ) + ).void + end + attr_writer :not_returned # Purchase explanation. sig { returns(String) } @@ -3946,7 +4520,10 @@ module Increase ), merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::MerchantResolutionAttempted::OrSymbol, - not_returned: T.nilable(T.anything), + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned::OrHash + ), purchase_explanation: String, received_or_expected_at: Date, return_attempted: @@ -3990,7 +4567,10 @@ module Increase ), merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::MerchantResolutionAttempted::TaggedSymbol, - not_returned: T.nilable(T.anything), + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned + ), purchase_explanation: String, received_or_expected_at: Date, return_attempted: @@ -4195,6 +4775,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Present if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -4761,8 +5360,24 @@ module Increase # Other service type explanation. Present if and only if `service_type` is # `other`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :other + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other + ) + ) + end + attr_reader :other + + sig do + params( + other: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other::OrHash + ) + ).void + end + attr_writer :other # Purchase explanation. sig { returns(String) } @@ -4777,8 +5392,24 @@ module Increase attr_accessor :service_type # Timeshare explanation. Present if and only if `service_type` is `timeshare`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :timeshare + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare + ) + ) + end + attr_reader :timeshare + + sig do + params( + timeshare: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare::OrHash + ) + ).void + end + attr_writer :timeshare # Canceled services. Present if and only if `category` is # `consumer_canceled_services`. @@ -4793,11 +5424,17 @@ module Increase ), merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::MerchantResolutionAttempted::OrSymbol, - other: T.nilable(T.anything), + other: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other::OrHash + ), purchase_explanation: String, service_type: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::ServiceType::OrSymbol, - timeshare: T.nilable(T.anything) + timeshare: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare::OrHash + ) ).returns(T.attached_class) end def self.new( @@ -4834,11 +5471,17 @@ module Increase ), merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::MerchantResolutionAttempted::TaggedSymbol, - other: T.nilable(T.anything), + other: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other + ), purchase_explanation: String, service_type: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::ServiceType::TaggedSymbol, - timeshare: T.nilable(T.anything) + timeshare: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare + ) } ) end @@ -5067,6 +5710,26 @@ module Increase end end + class Other < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other, + Increase::Internal::AnyHash + ) + end + + # Other service type explanation. Present if and only if `service_type` is + # `other`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + # Service type. module ServiceType extend Increase::Internal::Type::Enum @@ -5111,6 +5774,25 @@ module Increase def self.values end end + + class Timeshare < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare, + Increase::Internal::AnyHash + ) + end + + # Timeshare explanation. Present if and only if `service_type` is `timeshare`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end end class ConsumerCounterfeitMerchandise < Increase::Internal::Type::BaseModel @@ -5237,8 +5919,24 @@ module Increase attr_accessor :merchant_resolution_attempted # Not returned. Present if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :not_returned + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned + ) + ) + end + attr_reader :not_returned + + sig do + params( + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned::OrHash + ) + ).void + end + attr_writer :not_returned # Order and issue explanation. sig { returns(String) } @@ -5302,7 +6000,10 @@ module Increase params( merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::MerchantResolutionAttempted::OrSymbol, - not_returned: T.nilable(T.anything), + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned::OrHash + ), order_and_issue_explanation: String, received_at: Date, return_attempted: @@ -5340,7 +6041,10 @@ module Increase { merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::MerchantResolutionAttempted::TaggedSymbol, - not_returned: T.nilable(T.anything), + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned + ), order_and_issue_explanation: String, received_at: Date, return_attempted: @@ -5397,6 +6101,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Present if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -5730,8 +6453,24 @@ module Increase attr_accessor :misrepresentation_explanation # Not returned. Present if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :not_returned + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned + ) + ) + end + attr_reader :not_returned + + sig do + params( + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned::OrHash + ) + ).void + end + attr_writer :not_returned # Purchase explanation. sig { returns(String) } @@ -5796,7 +6535,10 @@ module Increase merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::MerchantResolutionAttempted::OrSymbol, misrepresentation_explanation: String, - not_returned: T.nilable(T.anything), + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned::OrHash + ), purchase_explanation: String, received_at: Date, return_attempted: @@ -5837,7 +6579,10 @@ module Increase merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::MerchantResolutionAttempted::TaggedSymbol, misrepresentation_explanation: String, - not_returned: T.nilable(T.anything), + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned + ), purchase_explanation: String, received_at: Date, return_attempted: @@ -5894,6 +6639,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Present if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -6793,8 +7557,24 @@ module Increase # No cancellation. Present if and only if `cancellation_outcome` is # `no_cancellation`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :no_cancellation + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation + ) + ) + end + attr_reader :no_cancellation + + sig do + params( + no_cancellation: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation::OrHash + ) + ).void + end + attr_writer :no_cancellation # Purchase information and explanation. sig { returns(String) } @@ -6827,7 +7607,10 @@ module Increase ), merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantResolutionAttempted::OrSymbol, - no_cancellation: T.nilable(T.anything), + no_cancellation: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation::OrHash + ), purchase_info_and_explanation: String ).returns(T.attached_class) end @@ -6885,7 +7668,10 @@ module Increase ), merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantResolutionAttempted::TaggedSymbol, - no_cancellation: T.nilable(T.anything), + no_cancellation: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation + ), purchase_info_and_explanation: String } ) @@ -6993,8 +7779,24 @@ module Increase attr_accessor :explanation # Not returned. Present if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :not_returned + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned + ) + ) + end + attr_reader :not_returned + + sig do + params( + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned::OrHash + ) + ).void + end + attr_writer :not_returned # Return attempted. Present if and only if `return_outcome` is `return_attempted`. sig do @@ -7048,7 +7850,10 @@ module Increase sig do params( explanation: String, - not_returned: T.nilable(T.anything), + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned::OrHash + ), return_attempted: T.nilable( Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted::OrHash @@ -7079,7 +7884,10 @@ module Increase override.returns( { explanation: String, - not_returned: T.nilable(T.anything), + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned + ), return_attempted: T.nilable( Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted @@ -7096,6 +7904,25 @@ module Increase def to_hash end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Present if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -7340,6 +8167,46 @@ module Increase def self.values end end + + class NoCancellation < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation, + Increase::Internal::AnyHash + ) + end + + # No cancellation. Present if and only if `cancellation_outcome` is + # `no_cancellation`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + end + + class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash, + Increase::Internal::AnyHash + ) + end + + # Non-receipt of cash. Present if and only if `category` is + # `consumer_non_receipt_of_cash`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end end class ConsumerOriginalCreditTransactionNotAccepted < Increase::Internal::Type::BaseModel @@ -7453,8 +8320,24 @@ module Increase attr_accessor :merchant_resolution_attempted # Not returned. Present if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :not_returned + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned + ) + ) + end + attr_reader :not_returned + + sig do + params( + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned::OrHash + ) + ).void + end + attr_writer :not_returned # Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations. sig do @@ -7539,7 +8422,10 @@ module Increase expected_at: Date, merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::MerchantResolutionAttempted::OrSymbol, - not_returned: T.nilable(T.anything), + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned::OrHash + ), ongoing_negotiations: T.nilable( Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations::OrHash @@ -7586,7 +8472,10 @@ module Increase expected_at: Date, merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::MerchantResolutionAttempted::TaggedSymbol, - not_returned: T.nilable(T.anything), + not_returned: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned + ), ongoing_negotiations: T.nilable( Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations @@ -7647,6 +8536,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Present if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class OngoingNegotiations < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -8936,8 +9844,24 @@ module Increase # No cancellation. Present if and only if `cancellation_outcome` is # `no_cancellation`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :no_cancellation + sig do + returns( + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation + ) + ) + end + attr_reader :no_cancellation + + sig do + params( + no_cancellation: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation::OrHash + ) + ).void + end + attr_writer :no_cancellation # Purchase information and explanation. sig { returns(String) } @@ -8960,7 +9884,10 @@ module Increase ), merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantResolutionAttempted::OrSymbol, - no_cancellation: T.nilable(T.anything), + no_cancellation: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation::OrHash + ), purchase_info_and_explanation: String ).returns(T.attached_class) end @@ -9001,7 +9928,10 @@ module Increase ), merchant_resolution_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantResolutionAttempted::TaggedSymbol, - no_cancellation: T.nilable(T.anything), + no_cancellation: + T.nilable( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation + ), purchase_info_and_explanation: String } ) @@ -9159,6 +10089,26 @@ module Increase def self.values end end + + class NoCancellation < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation, + Increase::Internal::AnyHash + ) + end + + # No cancellation. Present if and only if `cancellation_outcome` is + # `no_cancellation`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end end class Fraud < Increase::Internal::Type::BaseModel diff --git a/rbi/increase/models/card_dispute_create_params.rbi b/rbi/increase/models/card_dispute_create_params.rbi index 9f75ed2f1..5927d2b66 100644 --- a/rbi/increase/models/card_dispute_create_params.rbi +++ b/rbi/increase/models/card_dispute_create_params.rbi @@ -358,10 +358,21 @@ module Increase # Non-receipt of cash. Required if and only if `category` is # `consumer_non_receipt_of_cash`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash + ) + ) + end attr_reader :consumer_non_receipt_of_cash - sig { params(consumer_non_receipt_of_cash: T.anything).void } + sig do + params( + consumer_non_receipt_of_cash: + Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash::OrHash + ).void + end attr_writer :consumer_non_receipt_of_cash # Original Credit Transaction (OCT) not accepted. Required if and only if @@ -533,7 +544,8 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed::OrHash, consumer_merchandise_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::OrHash, - consumer_non_receipt_of_cash: T.anything, + consumer_non_receipt_of_cash: + Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash::OrHash, consumer_original_credit_transaction_not_accepted: Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted::OrHash, consumer_quality_merchandise: @@ -636,7 +648,8 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed, consumer_merchandise_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived, - consumer_non_receipt_of_cash: T.anything, + consumer_non_receipt_of_cash: + Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash, consumer_original_credit_transaction_not_accepted: Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted, consumer_quality_merchandise: @@ -951,10 +964,21 @@ module Increase attr_writer :cardholder_cancellation # Not returned. Required if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned + ) + ) + end attr_reader :not_returned - sig { params(not_returned: T.anything).void } + sig do + params( + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned::OrHash + ).void + end attr_writer :not_returned # Return attempted. Required if and only if `return_outcome` is @@ -1006,7 +1030,8 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnOutcome::OrSymbol, cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation::OrHash, - not_returned: T.anything, + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned::OrHash, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted::OrHash, returned: @@ -1045,7 +1070,8 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnOutcome::OrSymbol, cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation, - not_returned: T.anything, + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted, returned: @@ -1287,6 +1313,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Required if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -1849,17 +1894,39 @@ module Increase # Other service type explanation. Required if and only if `service_type` is # `other`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other + ) + ) + end attr_reader :other - sig { params(other: T.anything).void } + sig do + params( + other: + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other::OrHash + ).void + end attr_writer :other # Timeshare explanation. Required if and only if `service_type` is `timeshare`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare + ) + ) + end attr_reader :timeshare - sig { params(timeshare: T.anything).void } + sig do + params( + timeshare: + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare::OrHash + ).void + end attr_writer :timeshare # Canceled services. Required if and only if `category` is @@ -1876,8 +1943,10 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::ServiceType::OrSymbol, guaranteed_reservation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation::OrHash, - other: T.anything, - timeshare: T.anything + other: + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other::OrHash, + timeshare: + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare::OrHash ).returns(T.attached_class) end def self.new( @@ -1915,8 +1984,10 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::ServiceType::OrSymbol, guaranteed_reservation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation, - other: T.anything, - timeshare: T.anything + other: + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other, + timeshare: + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare } ) end @@ -2189,6 +2260,45 @@ module Increase end end end + + class Other < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other, + Increase::Internal::AnyHash + ) + end + + # Other service type explanation. Required if and only if `service_type` is + # `other`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class Timeshare < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare, + Increase::Internal::AnyHash + ) + end + + # Timeshare explanation. Required if and only if `service_type` is `timeshare`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end end class ConsumerCounterfeitMerchandise < Increase::Internal::Type::BaseModel @@ -2334,10 +2444,21 @@ module Increase attr_accessor :return_outcome # Not returned. Required if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned + ) + ) + end attr_reader :not_returned - sig { params(not_returned: T.anything).void } + sig do + params( + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned::OrHash + ).void + end attr_writer :not_returned # Return attempted. Required if and only if `return_outcome` is @@ -2387,7 +2508,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned::OrHash, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::OrHash, returned: @@ -2422,7 +2544,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted, returned: @@ -2516,6 +2639,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Required if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -2830,10 +2972,21 @@ module Increase attr_accessor :return_outcome # Not returned. Required if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned + ) + ) + end attr_reader :not_returned - sig { params(not_returned: T.anything).void } + sig do + params( + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned::OrHash + ).void + end attr_writer :not_returned # Return attempted. Required if and only if `return_outcome` is @@ -2884,7 +3037,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned::OrHash, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted::OrHash, returned: @@ -2922,7 +3076,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted, returned: @@ -3016,6 +3171,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Required if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -3876,10 +4050,21 @@ module Increase # No cancellation. Required if and only if `cancellation_outcome` is # `no_cancellation`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation + ) + ) + end attr_reader :no_cancellation - sig { params(no_cancellation: T.anything).void } + sig do + params( + no_cancellation: + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation::OrHash + ).void + end attr_writer :no_cancellation # Merchandise not received. Required if and only if `category` is @@ -3902,7 +4087,8 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation::OrHash, merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation::OrHash, - no_cancellation: T.anything + no_cancellation: + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation::OrHash ).returns(T.attached_class) end def self.new( @@ -3952,7 +4138,8 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation, merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation, - no_cancellation: T.anything + no_cancellation: + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation } ) end @@ -4142,10 +4329,21 @@ module Increase attr_accessor :return_outcome # Not returned. Required if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned + ) + ) + end attr_reader :not_returned - sig { params(not_returned: T.anything).void } + sig do + params( + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned::OrHash + ).void + end attr_writer :not_returned # Return attempted. Required if and only if `return_outcome` is @@ -4191,7 +4389,8 @@ module Increase explanation: String, return_outcome: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned::OrHash, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted::OrHash, returned: @@ -4219,7 +4418,8 @@ module Increase explanation: String, return_outcome: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted, returned: @@ -4275,6 +4475,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Required if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -4397,6 +4616,46 @@ module Increase def to_hash end end + + class NoCancellation < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation, + Increase::Internal::AnyHash + ) + end + + # No cancellation. Required if and only if `cancellation_outcome` is + # `no_cancellation`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + end + + class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash, + Increase::Internal::AnyHash + ) + end + + # Non-receipt of cash. Required if and only if `category` is + # `consumer_non_receipt_of_cash`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end end class ConsumerOriginalCreditTransactionNotAccepted < Increase::Internal::Type::BaseModel @@ -4526,10 +4785,21 @@ module Increase attr_accessor :return_outcome # Not returned. Required if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned + ) + ) + end attr_reader :not_returned - sig { params(not_returned: T.anything).void } + sig do + params( + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned::OrHash + ).void + end attr_writer :not_returned # Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations. @@ -4598,7 +4868,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned::OrHash, ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations::OrHash, return_attempted: @@ -4640,7 +4911,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned, ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations, return_attempted: @@ -4736,6 +5008,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Required if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class OngoingNegotiations < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -5992,10 +6283,21 @@ module Increase # No cancellation. Required if and only if `cancellation_outcome` is # `no_cancellation`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation + ) + ) + end attr_reader :no_cancellation - sig { params(no_cancellation: T.anything).void } + sig do + params( + no_cancellation: + Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation::OrHash + ).void + end attr_writer :no_cancellation # Services not received. Required if and only if `category` is @@ -6012,7 +6314,8 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt::OrHash, merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation::OrHash, - no_cancellation: T.anything + no_cancellation: + Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation::OrHash ).returns(T.attached_class) end def self.new( @@ -6049,7 +6352,8 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt, merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation, - no_cancellation: T.anything + no_cancellation: + Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation } ) end @@ -6205,6 +6509,26 @@ module Increase def to_hash end end + + class NoCancellation < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation, + Increase::Internal::AnyHash + ) + end + + # No cancellation. Required if and only if `cancellation_outcome` is + # `no_cancellation`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end end class Fraud < Increase::Internal::Type::BaseModel diff --git a/rbi/increase/models/card_dispute_submit_user_submission_params.rbi b/rbi/increase/models/card_dispute_submit_user_submission_params.rbi index 195792dcd..66170ad41 100644 --- a/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +++ b/rbi/increase/models/card_dispute_submit_user_submission_params.rbi @@ -555,10 +555,21 @@ module Increase # Non-receipt of cash. Required if and only if `category` is # `consumer_non_receipt_of_cash`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash + ) + ) + end attr_reader :consumer_non_receipt_of_cash - sig { params(consumer_non_receipt_of_cash: T.anything).void } + sig do + params( + consumer_non_receipt_of_cash: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash::OrHash + ).void + end attr_writer :consumer_non_receipt_of_cash # Original Credit Transaction (OCT) not accepted. Required if and only if @@ -737,7 +748,8 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotAsDescribed::OrHash, consumer_merchandise_not_received: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::OrHash, - consumer_non_receipt_of_cash: T.anything, + consumer_non_receipt_of_cash: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash::OrHash, consumer_original_credit_transaction_not_accepted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerOriginalCreditTransactionNotAccepted::OrHash, consumer_quality_merchandise: @@ -841,7 +853,8 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotAsDescribed, consumer_merchandise_not_received: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived, - consumer_non_receipt_of_cash: T.anything, + consumer_non_receipt_of_cash: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash, consumer_original_credit_transaction_not_accepted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerOriginalCreditTransactionNotAccepted, consumer_quality_merchandise: @@ -1160,10 +1173,21 @@ module Increase attr_writer :cardholder_cancellation # Not returned. Required if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned + ) + ) + end attr_reader :not_returned - sig { params(not_returned: T.anything).void } + sig do + params( + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned::OrHash + ).void + end attr_writer :not_returned # Return attempted. Required if and only if `return_outcome` is @@ -1215,7 +1239,8 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::ReturnOutcome::OrSymbol, cardholder_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation::OrHash, - not_returned: T.anything, + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned::OrHash, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted::OrHash, returned: @@ -1254,7 +1279,8 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::ReturnOutcome::OrSymbol, cardholder_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation, - not_returned: T.anything, + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted, returned: @@ -1496,6 +1522,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Required if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -2058,17 +2103,39 @@ module Increase # Other service type explanation. Required if and only if `service_type` is # `other`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other + ) + ) + end attr_reader :other - sig { params(other: T.anything).void } + sig do + params( + other: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other::OrHash + ).void + end attr_writer :other # Timeshare explanation. Required if and only if `service_type` is `timeshare`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare + ) + ) + end attr_reader :timeshare - sig { params(timeshare: T.anything).void } + sig do + params( + timeshare: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare::OrHash + ).void + end attr_writer :timeshare # Canceled services. Required if and only if `category` is @@ -2085,8 +2152,10 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::ServiceType::OrSymbol, guaranteed_reservation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::GuaranteedReservation::OrHash, - other: T.anything, - timeshare: T.anything + other: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other::OrHash, + timeshare: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare::OrHash ).returns(T.attached_class) end def self.new( @@ -2124,8 +2193,10 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::ServiceType::OrSymbol, guaranteed_reservation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::GuaranteedReservation, - other: T.anything, - timeshare: T.anything + other: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other, + timeshare: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare } ) end @@ -2398,6 +2469,45 @@ module Increase end end end + + class Other < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other, + Increase::Internal::AnyHash + ) + end + + # Other service type explanation. Required if and only if `service_type` is + # `other`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class Timeshare < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare, + Increase::Internal::AnyHash + ) + end + + # Timeshare explanation. Required if and only if `service_type` is `timeshare`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end end class ConsumerCounterfeitMerchandise < Increase::Internal::Type::BaseModel @@ -2543,10 +2653,21 @@ module Increase attr_accessor :return_outcome # Not returned. Required if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned + ) + ) + end attr_reader :not_returned - sig { params(not_returned: T.anything).void } + sig do + params( + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned::OrHash + ).void + end attr_writer :not_returned # Return attempted. Required if and only if `return_outcome` is @@ -2596,7 +2717,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned::OrHash, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted::OrHash, returned: @@ -2631,7 +2753,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted, returned: @@ -2725,6 +2848,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Required if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -3039,10 +3181,21 @@ module Increase attr_accessor :return_outcome # Not returned. Required if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned + ) + ) + end attr_reader :not_returned - sig { params(not_returned: T.anything).void } + sig do + params( + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned::OrHash + ).void + end attr_writer :not_returned # Return attempted. Required if and only if `return_outcome` is @@ -3093,7 +3246,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned::OrHash, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted::OrHash, returned: @@ -3131,7 +3285,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted, returned: @@ -3225,6 +3380,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Required if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -4085,10 +4259,21 @@ module Increase # No cancellation. Required if and only if `cancellation_outcome` is # `no_cancellation`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation + ) + ) + end attr_reader :no_cancellation - sig { params(no_cancellation: T.anything).void } + sig do + params( + no_cancellation: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation::OrHash + ).void + end attr_writer :no_cancellation # Merchandise not received. Required if and only if `category` is @@ -4111,7 +4296,8 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation::OrHash, merchant_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation::OrHash, - no_cancellation: T.anything + no_cancellation: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation::OrHash ).returns(T.attached_class) end def self.new( @@ -4161,7 +4347,8 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation, merchant_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation, - no_cancellation: T.anything + no_cancellation: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation } ) end @@ -4351,10 +4538,21 @@ module Increase attr_accessor :return_outcome # Not returned. Required if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned + ) + ) + end attr_reader :not_returned - sig { params(not_returned: T.anything).void } + sig do + params( + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned::OrHash + ).void + end attr_writer :not_returned # Return attempted. Required if and only if `return_outcome` is @@ -4400,7 +4598,8 @@ module Increase explanation: String, return_outcome: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned::OrHash, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted::OrHash, returned: @@ -4428,7 +4627,8 @@ module Increase explanation: String, return_outcome: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted, returned: @@ -4484,6 +4684,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Required if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class ReturnAttempted < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -4606,6 +4825,46 @@ module Increase def to_hash end end + + class NoCancellation < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation, + Increase::Internal::AnyHash + ) + end + + # No cancellation. Required if and only if `cancellation_outcome` is + # `no_cancellation`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + end + + class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash, + Increase::Internal::AnyHash + ) + end + + # Non-receipt of cash. Required if and only if `category` is + # `consumer_non_receipt_of_cash`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end end class ConsumerOriginalCreditTransactionNotAccepted < Increase::Internal::Type::BaseModel @@ -4735,10 +4994,21 @@ module Increase attr_accessor :return_outcome # Not returned. Required if and only if `return_outcome` is `not_returned`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned + ) + ) + end attr_reader :not_returned - sig { params(not_returned: T.anything).void } + sig do + params( + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned::OrHash + ).void + end attr_writer :not_returned # Ongoing negotiations. Exclude if there is no evidence of ongoing negotiations. @@ -4807,7 +5077,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned::OrHash, ongoing_negotiations: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations::OrHash, return_attempted: @@ -4849,7 +5120,8 @@ module Increase received_at: Date, return_outcome: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::ReturnOutcome::OrSymbol, - not_returned: T.anything, + not_returned: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned, ongoing_negotiations: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations, return_attempted: @@ -4945,6 +5217,25 @@ module Increase end end + class NotReturned < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned, + Increase::Internal::AnyHash + ) + end + + # Not returned. Required if and only if `return_outcome` is `not_returned`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class OngoingNegotiations < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -6201,10 +6492,21 @@ module Increase # No cancellation. Required if and only if `cancellation_outcome` is # `no_cancellation`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation + ) + ) + end attr_reader :no_cancellation - sig { params(no_cancellation: T.anything).void } + sig do + params( + no_cancellation: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation::OrHash + ).void + end attr_writer :no_cancellation # Services not received. Required if and only if `category` is @@ -6221,7 +6523,8 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt::OrHash, merchant_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::MerchantCancellation::OrHash, - no_cancellation: T.anything + no_cancellation: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation::OrHash ).returns(T.attached_class) end def self.new( @@ -6258,7 +6561,8 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt, merchant_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::MerchantCancellation, - no_cancellation: T.anything + no_cancellation: + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation } ) end @@ -6414,6 +6718,26 @@ module Increase def to_hash end end + + class NoCancellation < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation, + Increase::Internal::AnyHash + ) + end + + # No cancellation. Required if and only if `cancellation_outcome` is + # `no_cancellation`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end end class Fraud < Increase::Internal::Type::BaseModel diff --git a/rbi/increase/models/card_payment.rbi b/rbi/increase/models/card_payment.rbi index 9acaa946d..9b2aa67d3 100644 --- a/rbi/increase/models/card_payment.rbi +++ b/rbi/increase/models/card_payment.rbi @@ -315,8 +315,15 @@ module Increase # If the category of this Transaction source is equal to `other`, this field will # contain an empty object, otherwise it will contain null. - sig { returns(T.nilable(T.anything)) } - attr_accessor :other + sig { returns(T.nilable(Increase::CardPayment::Element::Other)) } + attr_reader :other + + sig do + params( + other: T.nilable(Increase::CardPayment::Element::Other::OrHash) + ).void + end + attr_writer :other sig do params( @@ -352,7 +359,7 @@ module Increase T.nilable(Increase::CardPayment::Element::CardValidation::OrHash), category: Increase::CardPayment::Element::Category::OrSymbol, created_at: Time, - other: T.nilable(T.anything) + other: T.nilable(Increase::CardPayment::Element::Other::OrHash) ).returns(T.attached_class) end def self.new( @@ -448,7 +455,7 @@ module Increase T.nilable(Increase::CardPayment::Element::CardValidation), category: Increase::CardPayment::Element::Category::TaggedSymbol, created_at: Time, - other: T.nilable(T.anything) + other: T.nilable(Increase::CardPayment::Element::Other) } ) end @@ -2492,8 +2499,24 @@ module Increase attr_accessor :category # Fields specific to the `pulse` network. - sig { returns(T.nilable(T.anything)) } - attr_accessor :pulse + sig do + returns( + T.nilable( + Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse + ) + ) + end + attr_reader :pulse + + sig do + params( + pulse: + T.nilable( + Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse::OrHash + ) + ).void + end + attr_writer :pulse # Fields specific to the `visa` network. sig do @@ -2520,7 +2543,10 @@ module Increase params( category: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Category::OrSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse::OrHash + ), visa: T.nilable( Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::OrHash @@ -2542,7 +2568,10 @@ module Increase { category: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Category::TaggedSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse + ), visa: T.nilable( Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa @@ -2591,6 +2620,25 @@ module Increase end end + class Pulse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse, + Increase::Internal::AnyHash + ) + end + + # Fields specific to the `pulse` network. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class Visa < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -4987,8 +5035,24 @@ module Increase attr_accessor :category # Fields specific to the `pulse` network. - sig { returns(T.nilable(T.anything)) } - attr_accessor :pulse + sig do + returns( + T.nilable( + Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse + ) + ) + end + attr_reader :pulse + + sig do + params( + pulse: + T.nilable( + Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse::OrHash + ) + ).void + end + attr_writer :pulse # Fields specific to the `visa` network. sig do @@ -5015,7 +5079,10 @@ module Increase params( category: Increase::CardPayment::Element::CardDecline::NetworkDetails::Category::OrSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse::OrHash + ), visa: T.nilable( Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::OrHash @@ -5037,7 +5104,10 @@ module Increase { category: Increase::CardPayment::Element::CardDecline::NetworkDetails::Category::TaggedSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse + ), visa: T.nilable( Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa @@ -5086,6 +5156,25 @@ module Increase end end + class Pulse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse, + Increase::Internal::AnyHash + ) + end + + # Fields specific to the `pulse` network. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class Visa < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -7416,8 +7505,24 @@ module Increase attr_accessor :category # Fields specific to the `pulse` network. - sig { returns(T.nilable(T.anything)) } - attr_accessor :pulse + sig do + returns( + T.nilable( + Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse + ) + ) + end + attr_reader :pulse + + sig do + params( + pulse: + T.nilable( + Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse::OrHash + ) + ).void + end + attr_writer :pulse # Fields specific to the `visa` network. sig do @@ -7444,7 +7549,10 @@ module Increase params( category: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Category::OrSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse::OrHash + ), visa: T.nilable( Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa::OrHash @@ -7466,7 +7574,10 @@ module Increase { category: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Category::TaggedSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse + ), visa: T.nilable( Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa @@ -7515,6 +7626,25 @@ module Increase end end + class Pulse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse, + Increase::Internal::AnyHash + ) + end + + # Fields specific to the `pulse` network. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class Visa < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -16650,8 +16780,24 @@ module Increase attr_accessor :category # Fields specific to the `pulse` network. - sig { returns(T.nilable(T.anything)) } - attr_accessor :pulse + sig do + returns( + T.nilable( + Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse + ) + ) + end + attr_reader :pulse + + sig do + params( + pulse: + T.nilable( + Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse::OrHash + ) + ).void + end + attr_writer :pulse # Fields specific to the `visa` network. sig do @@ -16678,7 +16824,10 @@ module Increase params( category: Increase::CardPayment::Element::CardValidation::NetworkDetails::Category::OrSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse::OrHash + ), visa: T.nilable( Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::OrHash @@ -16700,7 +16849,10 @@ module Increase { category: Increase::CardPayment::Element::CardValidation::NetworkDetails::Category::TaggedSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse + ), visa: T.nilable( Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa @@ -16749,6 +16901,25 @@ module Increase end end + class Pulse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse, + Increase::Internal::AnyHash + ) + end + + # Fields specific to the `pulse` network. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class Visa < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -17609,6 +17780,26 @@ module Increase def self.values end end + + class Other < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::CardPayment::Element::Other, + Increase::Internal::AnyHash + ) + end + + # If the category of this Transaction source is equal to `other`, this field will + # contain an empty object, otherwise it will contain null. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end end class State < Increase::Internal::Type::BaseModel diff --git a/rbi/increase/models/declined_transaction.rbi b/rbi/increase/models/declined_transaction.rbi index 468e88bc2..24d436178 100644 --- a/rbi/increase/models/declined_transaction.rbi +++ b/rbi/increase/models/declined_transaction.rbi @@ -349,8 +349,16 @@ module Increase # If the category of this Transaction source is equal to `other`, this field will # contain an empty object, otherwise it will contain null. - sig { returns(T.nilable(T.anything)) } - attr_accessor :other + sig { returns(T.nilable(Increase::DeclinedTransaction::Source::Other)) } + attr_reader :other + + sig do + params( + other: + T.nilable(Increase::DeclinedTransaction::Source::Other::OrHash) + ).void + end + attr_writer :other # A Wire Decline object. This field will be present in the JSON response if and # only if `category` is equal to `wire_decline`. @@ -401,7 +409,8 @@ module Increase T.nilable( Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::OrHash ), - other: T.nilable(T.anything), + other: + T.nilable(Increase::DeclinedTransaction::Source::Other::OrHash), wire_decline: T.nilable( Increase::DeclinedTransaction::Source::WireDecline::OrHash @@ -464,7 +473,7 @@ module Increase T.nilable( Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline ), - other: T.nilable(T.anything), + other: T.nilable(Increase::DeclinedTransaction::Source::Other), wire_decline: T.nilable(Increase::DeclinedTransaction::Source::WireDecline) } @@ -2102,8 +2111,24 @@ module Increase attr_accessor :category # Fields specific to the `pulse` network. - sig { returns(T.nilable(T.anything)) } - attr_accessor :pulse + sig do + returns( + T.nilable( + Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse + ) + ) + end + attr_reader :pulse + + sig do + params( + pulse: + T.nilable( + Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse::OrHash + ) + ).void + end + attr_writer :pulse # Fields specific to the `visa` network. sig do @@ -2130,7 +2155,10 @@ module Increase params( category: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category::OrSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse::OrHash + ), visa: T.nilable( Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::OrHash @@ -2152,7 +2180,10 @@ module Increase { category: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category::TaggedSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse + ), visa: T.nilable( Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa @@ -2201,6 +2232,25 @@ module Increase end end + class Pulse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse, + Increase::Internal::AnyHash + ) + end + + # Fields specific to the `pulse` network. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class Visa < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -4216,6 +4266,26 @@ module Increase end end + class Other < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::DeclinedTransaction::Source::Other, + Increase::Internal::AnyHash + ) + end + + # If the category of this Transaction source is equal to `other`, this field will + # contain an empty object, otherwise it will contain null. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class WireDecline < Increase::Internal::Type::BaseModel OrHash = T.type_alias do diff --git a/rbi/increase/models/export_create_params.rbi b/rbi/increase/models/export_create_params.rbi index 3289386f5..a7ed06522 100644 --- a/rbi/increase/models/export_create_params.rbi +++ b/rbi/increase/models/export_create_params.rbi @@ -96,10 +96,12 @@ module Increase attr_writer :transaction_csv # Options for the created export. Required if `category` is equal to `vendor_csv`. - sig { returns(T.nilable(T.anything)) } + sig { returns(T.nilable(Increase::ExportCreateParams::VendorCsv)) } attr_reader :vendor_csv - sig { params(vendor_csv: T.anything).void } + sig do + params(vendor_csv: Increase::ExportCreateParams::VendorCsv::OrHash).void + end attr_writer :vendor_csv sig do @@ -114,7 +116,7 @@ module Increase Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::OrHash, entity_csv: Increase::ExportCreateParams::EntityCsv::OrHash, transaction_csv: Increase::ExportCreateParams::TransactionCsv::OrHash, - vendor_csv: T.anything, + vendor_csv: Increase::ExportCreateParams::VendorCsv::OrHash, request_options: Increase::RequestOptions::OrHash ).returns(T.attached_class) end @@ -157,7 +159,7 @@ module Increase Increase::ExportCreateParams::BookkeepingAccountBalanceCsv, entity_csv: Increase::ExportCreateParams::EntityCsv, transaction_csv: Increase::ExportCreateParams::TransactionCsv, - vendor_csv: T.anything, + vendor_csv: Increase::ExportCreateParams::VendorCsv, request_options: Increase::RequestOptions } ) @@ -1025,6 +1027,25 @@ module Increase end end end + + class VendorCsv < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::ExportCreateParams::VendorCsv, + Increase::Internal::AnyHash + ) + end + + # Options for the created export. Required if `category` is equal to `vendor_csv`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end end end end diff --git a/rbi/increase/models/pending_transaction.rbi b/rbi/increase/models/pending_transaction.rbi index 8048c7ee9..bd827b8a4 100644 --- a/rbi/increase/models/pending_transaction.rbi +++ b/rbi/increase/models/pending_transaction.rbi @@ -450,8 +450,16 @@ module Increase # If the category of this Transaction source is equal to `other`, this field will # contain an empty object, otherwise it will contain null. - sig { returns(T.nilable(T.anything)) } - attr_accessor :other + sig { returns(T.nilable(Increase::PendingTransaction::Source::Other)) } + attr_reader :other + + sig do + params( + other: + T.nilable(Increase::PendingTransaction::Source::Other::OrHash) + ).void + end + attr_writer :other # A Real-Time Payments Transfer Instruction object. This field will be present in # the JSON response if and only if `category` is equal to @@ -565,7 +573,8 @@ module Increase T.nilable( Increase::PendingTransaction::Source::InboundWireTransferReversal::OrHash ), - other: T.nilable(T.anything), + other: + T.nilable(Increase::PendingTransaction::Source::Other::OrHash), real_time_payments_transfer_instruction: T.nilable( Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction::OrHash @@ -679,7 +688,7 @@ module Increase T.nilable( Increase::PendingTransaction::Source::InboundWireTransferReversal ), - other: T.nilable(T.anything), + other: T.nilable(Increase::PendingTransaction::Source::Other), real_time_payments_transfer_instruction: T.nilable( Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction @@ -2164,8 +2173,24 @@ module Increase attr_accessor :category # Fields specific to the `pulse` network. - sig { returns(T.nilable(T.anything)) } - attr_accessor :pulse + sig do + returns( + T.nilable( + Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse + ) + ) + end + attr_reader :pulse + + sig do + params( + pulse: + T.nilable( + Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse::OrHash + ) + ).void + end + attr_writer :pulse # Fields specific to the `visa` network. sig do @@ -2192,7 +2217,10 @@ module Increase params( category: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category::OrSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse::OrHash + ), visa: T.nilable( Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::OrHash @@ -2214,7 +2242,10 @@ module Increase { category: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category::TaggedSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse + ), visa: T.nilable( Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa @@ -2263,6 +2294,25 @@ module Increase end end + class Pulse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse, + Increase::Internal::AnyHash + ) + end + + # Fields specific to the `pulse` network. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class Visa < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -3866,6 +3916,26 @@ module Increase end end + class Other < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::PendingTransaction::Source::Other, + Increase::Internal::AnyHash + ) + end + + # If the category of this Transaction source is equal to `other`, this field will + # contain an empty object, otherwise it will contain null. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class RealTimePaymentsTransferInstruction < Increase::Internal::Type::BaseModel OrHash = T.type_alias do diff --git a/rbi/increase/models/real_time_decision.rbi b/rbi/increase/models/real_time_decision.rbi index 00c53aa35..715b2d058 100644 --- a/rbi/increase/models/real_time_decision.rbi +++ b/rbi/increase/models/real_time_decision.rbi @@ -1693,8 +1693,24 @@ module Increase attr_accessor :category # Fields specific to the `pulse` network. - sig { returns(T.nilable(T.anything)) } - attr_accessor :pulse + sig do + returns( + T.nilable( + Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse + ) + ) + end + attr_reader :pulse + + sig do + params( + pulse: + T.nilable( + Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse::OrHash + ) + ).void + end + attr_writer :pulse # Fields specific to the `visa` network. sig do @@ -1721,7 +1737,10 @@ module Increase params( category: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category::OrSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse::OrHash + ), visa: T.nilable( Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::OrHash @@ -1743,7 +1762,10 @@ module Increase { category: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category::TaggedSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse + ), visa: T.nilable( Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa @@ -1792,6 +1814,25 @@ module Increase end end + class Pulse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse, + Increase::Internal::AnyHash + ) + end + + # Fields specific to the `pulse` network. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class Visa < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -2337,8 +2378,24 @@ module Increase attr_writer :incremental_authorization # Fields specific to the category `initial_authorization`. - sig { returns(T.nilable(T.anything)) } - attr_accessor :initial_authorization + sig do + returns( + T.nilable( + Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization + ) + ) + end + attr_reader :initial_authorization + + sig do + params( + initial_authorization: + T.nilable( + Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization::OrHash + ) + ).void + end + attr_writer :initial_authorization # Fields specific to the type of request, such as an incremental authorization. sig do @@ -2349,7 +2406,10 @@ module Increase T.nilable( Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization::OrHash ), - initial_authorization: T.nilable(T.anything) + initial_authorization: + T.nilable( + Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization::OrHash + ) ).returns(T.attached_class) end def self.new( @@ -2372,7 +2432,10 @@ module Increase T.nilable( Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization ), - initial_authorization: T.nilable(T.anything) + initial_authorization: + T.nilable( + Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization + ) } ) end @@ -2463,6 +2526,25 @@ module Increase def to_hash end end + + class InitialAuthorization < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization, + Increase::Internal::AnyHash + ) + end + + # Fields specific to the category `initial_authorization`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end end class Verification < Increase::Internal::Type::BaseModel diff --git a/rbi/increase/models/simulations/card_dispute_action_params.rbi b/rbi/increase/models/simulations/card_dispute_action_params.rbi index 442fa05a0..018c95316 100644 --- a/rbi/increase/models/simulations/card_dispute_action_params.rbi +++ b/rbi/increase/models/simulations/card_dispute_action_params.rbi @@ -124,42 +124,97 @@ module Increase # The parameters for accepting the chargeback. Required if and only if `action` is # `accept_chargeback`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback + ) + ) + end attr_reader :accept_chargeback - sig { params(accept_chargeback: T.anything).void } + sig do + params( + accept_chargeback: + Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback::OrHash + ).void + end attr_writer :accept_chargeback # The parameters for accepting the user submission. Required if and only if # `action` is `accept_user_submission`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission + ) + ) + end attr_reader :accept_user_submission - sig { params(accept_user_submission: T.anything).void } + sig do + params( + accept_user_submission: + Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission::OrHash + ).void + end attr_writer :accept_user_submission # The parameters for declining the prearbitration. Required if and only if # `action` is `decline_user_prearbitration`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration + ) + ) + end attr_reader :decline_user_prearbitration - sig { params(decline_user_prearbitration: T.anything).void } + sig do + params( + decline_user_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration::OrHash + ).void + end attr_writer :decline_user_prearbitration # The parameters for receiving the prearbitration. Required if and only if # `action` is `receive_merchant_prearbitration`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration + ) + ) + end attr_reader :receive_merchant_prearbitration - sig { params(receive_merchant_prearbitration: T.anything).void } + sig do + params( + receive_merchant_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration::OrHash + ).void + end attr_writer :receive_merchant_prearbitration # The parameters for re-presenting the dispute. Required if and only if `action` # is `represent`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::Simulations::CardDisputeActionParams::Visa::Represent + ) + ) + end attr_reader :represent - sig { params(represent: T.anything).void } + sig do + params( + represent: + Increase::Simulations::CardDisputeActionParams::Visa::Represent::OrHash + ).void + end attr_writer :represent # The parameters for requesting further information from the user. Required if and @@ -183,34 +238,78 @@ module Increase # The parameters for timing out the chargeback. Required if and only if `action` # is `time_out_chargeback`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback + ) + ) + end attr_reader :time_out_chargeback - sig { params(time_out_chargeback: T.anything).void } + sig do + params( + time_out_chargeback: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback::OrHash + ).void + end attr_writer :time_out_chargeback # The parameters for timing out the merchant prearbitration. Required if and only # if `action` is `time_out_merchant_prearbitration`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration + ) + ) + end attr_reader :time_out_merchant_prearbitration - sig { params(time_out_merchant_prearbitration: T.anything).void } + sig do + params( + time_out_merchant_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration::OrHash + ).void + end attr_writer :time_out_merchant_prearbitration # The parameters for timing out the re-presentment. Required if and only if # `action` is `time_out_representment`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment + ) + ) + end attr_reader :time_out_representment - sig { params(time_out_representment: T.anything).void } + sig do + params( + time_out_representment: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment::OrHash + ).void + end attr_writer :time_out_representment # The parameters for timing out the user prearbitration. Required if and only if # `action` is `time_out_user_prearbitration`. - sig { returns(T.nilable(T.anything)) } + sig do + returns( + T.nilable( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration + ) + ) + end attr_reader :time_out_user_prearbitration - sig { params(time_out_user_prearbitration: T.anything).void } + sig do + params( + time_out_user_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration::OrHash + ).void + end attr_writer :time_out_user_prearbitration # The Visa-specific parameters for the taking action on the dispute. Required if @@ -219,17 +318,26 @@ module Increase params( action: Increase::Simulations::CardDisputeActionParams::Visa::Action::OrSymbol, - accept_chargeback: T.anything, - accept_user_submission: T.anything, - decline_user_prearbitration: T.anything, - receive_merchant_prearbitration: T.anything, - represent: T.anything, + accept_chargeback: + Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback::OrHash, + accept_user_submission: + Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission::OrHash, + decline_user_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration::OrHash, + receive_merchant_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration::OrHash, + represent: + Increase::Simulations::CardDisputeActionParams::Visa::Represent::OrHash, request_further_information: Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation::OrHash, - time_out_chargeback: T.anything, - time_out_merchant_prearbitration: T.anything, - time_out_representment: T.anything, - time_out_user_prearbitration: T.anything + time_out_chargeback: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback::OrHash, + time_out_merchant_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration::OrHash, + time_out_representment: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment::OrHash, + time_out_user_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration::OrHash ).returns(T.attached_class) end def self.new( @@ -274,17 +382,26 @@ module Increase { action: Increase::Simulations::CardDisputeActionParams::Visa::Action::OrSymbol, - accept_chargeback: T.anything, - accept_user_submission: T.anything, - decline_user_prearbitration: T.anything, - receive_merchant_prearbitration: T.anything, - represent: T.anything, + accept_chargeback: + Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback, + accept_user_submission: + Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission, + decline_user_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration, + receive_merchant_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration, + represent: + Increase::Simulations::CardDisputeActionParams::Visa::Represent, request_further_information: Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation, - time_out_chargeback: T.anything, - time_out_merchant_prearbitration: T.anything, - time_out_representment: T.anything, - time_out_user_prearbitration: T.anything + time_out_chargeback: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback, + time_out_merchant_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration, + time_out_representment: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment, + time_out_user_prearbitration: + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration } ) end @@ -386,6 +503,106 @@ module Increase end end + class AcceptChargeback < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback, + Increase::Internal::AnyHash + ) + end + + # The parameters for accepting the chargeback. Required if and only if `action` is + # `accept_chargeback`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class AcceptUserSubmission < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission, + Increase::Internal::AnyHash + ) + end + + # The parameters for accepting the user submission. Required if and only if + # `action` is `accept_user_submission`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class DeclineUserPrearbitration < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration, + Increase::Internal::AnyHash + ) + end + + # The parameters for declining the prearbitration. Required if and only if + # `action` is `decline_user_prearbitration`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class ReceiveMerchantPrearbitration < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration, + Increase::Internal::AnyHash + ) + end + + # The parameters for receiving the prearbitration. Required if and only if + # `action` is `receive_merchant_prearbitration`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class Represent < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::CardDisputeActionParams::Visa::Represent, + Increase::Internal::AnyHash + ) + end + + # The parameters for re-presenting the dispute. Required if and only if `action` + # is `represent`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class RequestFurtherInformation < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -412,6 +629,86 @@ module Increase def to_hash end end + + class TimeOutChargeback < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback, + Increase::Internal::AnyHash + ) + end + + # The parameters for timing out the chargeback. Required if and only if `action` + # is `time_out_chargeback`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class TimeOutMerchantPrearbitration < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration, + Increase::Internal::AnyHash + ) + end + + # The parameters for timing out the merchant prearbitration. Required if and only + # if `action` is `time_out_merchant_prearbitration`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class TimeOutRepresentment < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment, + Increase::Internal::AnyHash + ) + end + + # The parameters for timing out the re-presentment. Required if and only if + # `action` is `time_out_representment`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + + class TimeOutUserPrearbitration < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration, + Increase::Internal::AnyHash + ) + end + + # The parameters for timing out the user prearbitration. Required if and only if + # `action` is `time_out_user_prearbitration`. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end end end end diff --git a/rbi/increase/models/transaction.rbi b/rbi/increase/models/transaction.rbi index fb9893e8d..b68efdc40 100644 --- a/rbi/increase/models/transaction.rbi +++ b/rbi/increase/models/transaction.rbi @@ -810,8 +810,15 @@ module Increase # If the category of this Transaction source is equal to `other`, this field will # contain an empty object, otherwise it will contain null. - sig { returns(T.nilable(T.anything)) } - attr_accessor :other + sig { returns(T.nilable(Increase::Transaction::Source::Other)) } + attr_reader :other + + sig do + params( + other: T.nilable(Increase::Transaction::Source::Other::OrHash) + ).void + end + attr_writer :other # A Real-Time Payments Transfer Acknowledgement object. This field will be present # in the JSON response if and only if `category` is equal to @@ -1020,7 +1027,7 @@ module Increase T.nilable(Increase::Transaction::Source::InterestPayment::OrHash), internal_source: T.nilable(Increase::Transaction::Source::InternalSource::OrHash), - other: T.nilable(T.anything), + other: T.nilable(Increase::Transaction::Source::Other::OrHash), real_time_payments_transfer_acknowledgement: T.nilable( Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement::OrHash @@ -1311,7 +1318,7 @@ module Increase T.nilable(Increase::Transaction::Source::InterestPayment), internal_source: T.nilable(Increase::Transaction::Source::InternalSource), - other: T.nilable(T.anything), + other: T.nilable(Increase::Transaction::Source::Other), real_time_payments_transfer_acknowledgement: T.nilable( Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement @@ -3893,8 +3900,24 @@ module Increase attr_accessor :category # Fields specific to the `pulse` network. - sig { returns(T.nilable(T.anything)) } - attr_accessor :pulse + sig do + returns( + T.nilable( + Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse + ) + ) + end + attr_reader :pulse + + sig do + params( + pulse: + T.nilable( + Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse::OrHash + ) + ).void + end + attr_writer :pulse # Fields specific to the `visa` network. sig do @@ -3921,7 +3944,10 @@ module Increase params( category: Increase::Transaction::Source::CardFinancial::NetworkDetails::Category::OrSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse::OrHash + ), visa: T.nilable( Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::OrHash @@ -3943,7 +3969,10 @@ module Increase { category: Increase::Transaction::Source::CardFinancial::NetworkDetails::Category::TaggedSymbol, - pulse: T.nilable(T.anything), + pulse: + T.nilable( + Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse + ), visa: T.nilable( Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa @@ -3992,6 +4021,25 @@ module Increase end end + class Pulse < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse, + Increase::Internal::AnyHash + ) + end + + # Fields specific to the `pulse` network. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class Visa < Increase::Internal::Type::BaseModel OrHash = T.type_alias do @@ -12849,6 +12897,26 @@ module Increase end end + class Other < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Transaction::Source::Other, + Increase::Internal::AnyHash + ) + end + + # If the category of this Transaction source is equal to `other`, this field will + # contain an empty object, otherwise it will contain null. + sig { returns(T.attached_class) } + def self.new + end + + sig { override.returns({}) } + def to_hash + end + end + class RealTimePaymentsTransferAcknowledgement < Increase::Internal::Type::BaseModel OrHash = T.type_alias do diff --git a/rbi/increase/resources/exports.rbi b/rbi/increase/resources/exports.rbi index ba5bc8d13..b130f90fa 100644 --- a/rbi/increase/resources/exports.rbi +++ b/rbi/increase/resources/exports.rbi @@ -16,7 +16,7 @@ module Increase Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::OrHash, entity_csv: Increase::ExportCreateParams::EntityCsv::OrHash, transaction_csv: Increase::ExportCreateParams::TransactionCsv::OrHash, - vendor_csv: T.anything, + vendor_csv: Increase::ExportCreateParams::VendorCsv::OrHash, request_options: Increase::RequestOptions::OrHash ).returns(Increase::Export) end diff --git a/sig/increase/models/card_dispute.rbs b/sig/increase/models/card_dispute.rbs index 8906065cf..faf6766df 100644 --- a/sig/increase/models/card_dispute.rbs +++ b/sig/increase/models/card_dispute.rbs @@ -199,21 +199,21 @@ module Increase { attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile], category: Increase::Models::CardDispute::Visa::NetworkEvent::category, - chargeback_accepted: top?, - chargeback_submitted: top?, - chargeback_timed_out: top?, + chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?, + chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?, + chargeback_timed_out: Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut?, created_at: Time, dispute_financial_transaction_id: String?, - merchant_prearbitration_decline_submitted: top?, + merchant_prearbitration_decline_submitted: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted?, merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?, - merchant_prearbitration_timed_out: top?, + merchant_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut?, represented: Increase::CardDispute::Visa::NetworkEvent::Represented?, - representment_timed_out: top?, - user_prearbitration_accepted: top?, - user_prearbitration_declined: top?, - user_prearbitration_submitted: top?, - user_prearbitration_timed_out: top?, - user_withdrawal_submitted: top? + representment_timed_out: Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut?, + user_prearbitration_accepted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted?, + user_prearbitration_declined: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined?, + user_prearbitration_submitted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted?, + user_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut?, + user_withdrawal_submitted: Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted? } class NetworkEvent < Increase::Internal::Type::BaseModel @@ -221,74 +221,74 @@ module Increase attr_accessor category: Increase::Models::CardDispute::Visa::NetworkEvent::category - attr_accessor chargeback_accepted: top? + attr_accessor chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted? - attr_accessor chargeback_submitted: top? + attr_accessor chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted? - attr_accessor chargeback_timed_out: top? + attr_accessor chargeback_timed_out: Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut? attr_accessor created_at: Time attr_accessor dispute_financial_transaction_id: String? - attr_accessor merchant_prearbitration_decline_submitted: top? + attr_accessor merchant_prearbitration_decline_submitted: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted? attr_accessor merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived? - attr_accessor merchant_prearbitration_timed_out: top? + attr_accessor merchant_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut? attr_accessor represented: Increase::CardDispute::Visa::NetworkEvent::Represented? - attr_accessor representment_timed_out: top? + attr_accessor representment_timed_out: Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut? - attr_accessor user_prearbitration_accepted: top? + attr_accessor user_prearbitration_accepted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted? - attr_accessor user_prearbitration_declined: top? + attr_accessor user_prearbitration_declined: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined? - attr_accessor user_prearbitration_submitted: top? + attr_accessor user_prearbitration_submitted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted? - attr_accessor user_prearbitration_timed_out: top? + attr_accessor user_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut? - attr_accessor user_withdrawal_submitted: top? + attr_accessor user_withdrawal_submitted: Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted? def initialize: ( attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile], category: Increase::Models::CardDispute::Visa::NetworkEvent::category, - chargeback_accepted: top?, - chargeback_submitted: top?, - chargeback_timed_out: top?, + chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?, + chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?, + chargeback_timed_out: Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut?, created_at: Time, dispute_financial_transaction_id: String?, - merchant_prearbitration_decline_submitted: top?, + merchant_prearbitration_decline_submitted: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted?, merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?, - merchant_prearbitration_timed_out: top?, + merchant_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut?, represented: Increase::CardDispute::Visa::NetworkEvent::Represented?, - representment_timed_out: top?, - user_prearbitration_accepted: top?, - user_prearbitration_declined: top?, - user_prearbitration_submitted: top?, - user_prearbitration_timed_out: top?, - user_withdrawal_submitted: top? + representment_timed_out: Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut?, + user_prearbitration_accepted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted?, + user_prearbitration_declined: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined?, + user_prearbitration_submitted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted?, + user_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut?, + user_withdrawal_submitted: Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted? ) -> void def to_hash: -> { attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile], category: Increase::Models::CardDispute::Visa::NetworkEvent::category, - chargeback_accepted: top?, - chargeback_submitted: top?, - chargeback_timed_out: top?, + chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?, + chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?, + chargeback_timed_out: Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut?, created_at: Time, dispute_financial_transaction_id: String?, - merchant_prearbitration_decline_submitted: top?, + merchant_prearbitration_decline_submitted: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted?, merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?, - merchant_prearbitration_timed_out: top?, + merchant_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut?, represented: Increase::CardDispute::Visa::NetworkEvent::Represented?, - representment_timed_out: top?, - user_prearbitration_accepted: top?, - user_prearbitration_declined: top?, - user_prearbitration_submitted: top?, - user_prearbitration_timed_out: top?, - user_withdrawal_submitted: top? + representment_timed_out: Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut?, + user_prearbitration_accepted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted?, + user_prearbitration_declined: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined?, + user_prearbitration_submitted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted?, + user_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut?, + user_withdrawal_submitted: Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted? } type attachment_file = { file_id: String } @@ -361,6 +361,38 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::NetworkEvent::category] end + type chargeback_accepted = { } + + class ChargebackAccepted < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type chargeback_submitted = { } + + class ChargebackSubmitted < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type chargeback_timed_out = { } + + class ChargebackTimedOut < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type merchant_prearbitration_decline_submitted = { } + + class MerchantPrearbitrationDeclineSubmitted < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type merchant_prearbitration_received = { cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived::CardholderNoLongerDisputes?, @@ -684,12 +716,20 @@ module Increase end end + type merchant_prearbitration_timed_out = { } + + class MerchantPrearbitrationTimedOut < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type represented = { cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::Represented::CardholderNoLongerDisputes?, credit_or_reversal_processed: Increase::CardDispute::Visa::NetworkEvent::Represented::CreditOrReversalProcessed?, invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute?, - non_fiat_currency_or_non_fungible_token_as_described: top?, + non_fiat_currency_or_non_fungible_token_as_described: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed?, non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived?, proof_of_cash_disbursement: Increase::CardDispute::Visa::NetworkEvent::Represented::ProofOfCashDisbursement?, reason: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::reason, @@ -703,7 +743,7 @@ module Increase attr_accessor invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute? - attr_accessor non_fiat_currency_or_non_fungible_token_as_described: top? + attr_accessor non_fiat_currency_or_non_fungible_token_as_described: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed? attr_accessor non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived? @@ -717,7 +757,7 @@ module Increase cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::Represented::CardholderNoLongerDisputes?, credit_or_reversal_processed: Increase::CardDispute::Visa::NetworkEvent::Represented::CreditOrReversalProcessed?, invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute?, - non_fiat_currency_or_non_fungible_token_as_described: top?, + non_fiat_currency_or_non_fungible_token_as_described: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed?, non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived?, proof_of_cash_disbursement: Increase::CardDispute::Visa::NetworkEvent::Represented::ProofOfCashDisbursement?, reason: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::reason, @@ -728,7 +768,7 @@ module Increase cardholder_no_longer_disputes: Increase::CardDispute::Visa::NetworkEvent::Represented::CardholderNoLongerDisputes?, credit_or_reversal_processed: Increase::CardDispute::Visa::NetworkEvent::Represented::CreditOrReversalProcessed?, invalid_dispute: Increase::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute?, - non_fiat_currency_or_non_fungible_token_as_described: top?, + non_fiat_currency_or_non_fungible_token_as_described: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed?, non_fiat_currency_or_non_fungible_token_received: Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived?, proof_of_cash_disbursement: Increase::CardDispute::Visa::NetworkEvent::Represented::ProofOfCashDisbursement?, reason: Increase::Models::CardDispute::Visa::NetworkEvent::Represented::reason, @@ -943,6 +983,14 @@ module Increase end end + type non_fiat_currency_or_non_fungible_token_as_described = { } + + class NonFiatCurrencyOrNonFungibleTokenAsDescribed < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type non_fiat_currency_or_non_fungible_token_received = { blockchain_transaction_hash: String, @@ -1026,6 +1074,54 @@ module Increase def to_hash: -> { explanation: String? } end end + + type representment_timed_out = { } + + class RepresentmentTimedOut < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type user_prearbitration_accepted = { } + + class UserPrearbitrationAccepted < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type user_prearbitration_declined = { } + + class UserPrearbitrationDeclined < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type user_prearbitration_submitted = { } + + class UserPrearbitrationSubmitted < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type user_prearbitration_timed_out = { } + + class UserPrearbitrationTimedOut < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type user_withdrawal_submitted = { } + + class UserWithdrawalSubmitted < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end end type required_user_submission_category = @@ -1160,7 +1256,7 @@ module Increase consumer_merchandise_misrepresentation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation?, consumer_merchandise_not_as_described: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed?, consumer_merchandise_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived?, - consumer_non_receipt_of_cash: top?, + consumer_non_receipt_of_cash: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash?, consumer_original_credit_transaction_not_accepted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted?, consumer_quality_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise?, consumer_quality_services: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices?, @@ -1194,7 +1290,7 @@ module Increase attr_accessor consumer_merchandise_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived? - attr_accessor consumer_non_receipt_of_cash: top? + attr_accessor consumer_non_receipt_of_cash: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash? attr_accessor consumer_original_credit_transaction_not_accepted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted? @@ -1224,7 +1320,7 @@ module Increase consumer_merchandise_misrepresentation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation?, consumer_merchandise_not_as_described: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed?, consumer_merchandise_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived?, - consumer_non_receipt_of_cash: top?, + consumer_non_receipt_of_cash: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash?, consumer_original_credit_transaction_not_accepted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted?, consumer_quality_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise?, consumer_quality_services: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices?, @@ -1247,7 +1343,7 @@ module Increase consumer_merchandise_misrepresentation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation?, consumer_merchandise_not_as_described: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotAsDescribed?, consumer_merchandise_not_received: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived?, - consumer_non_receipt_of_cash: top?, + consumer_non_receipt_of_cash: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash?, consumer_original_credit_transaction_not_accepted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted?, consumer_quality_merchandise: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise?, consumer_quality_services: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityServices?, @@ -1380,7 +1476,7 @@ module Increase { cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::merchant_resolution_attempted, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned?, purchase_explanation: String, received_or_expected_at: Date, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted?, @@ -1393,7 +1489,7 @@ module Increase attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::merchant_resolution_attempted - attr_accessor not_returned: top? + attr_accessor not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned? attr_accessor purchase_explanation: String @@ -1408,7 +1504,7 @@ module Increase def initialize: ( cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::merchant_resolution_attempted, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned?, purchase_explanation: String, received_or_expected_at: Date, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted?, @@ -1419,7 +1515,7 @@ module Increase def to_hash: -> { cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::merchant_resolution_attempted, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::NotReturned?, purchase_explanation: String, received_or_expected_at: Date, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted?, @@ -1504,6 +1600,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledMerchandise::merchant_resolution_attempted] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempt_explanation: String, @@ -1746,10 +1850,10 @@ module Increase contracted_at: Date, guaranteed_reservation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::merchant_resolution_attempted, - other: top?, + other: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other?, purchase_explanation: String, service_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::service_type, - timeshare: top? + timeshare: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare? } class ConsumerCanceledServices < Increase::Internal::Type::BaseModel @@ -1761,23 +1865,23 @@ module Increase attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::merchant_resolution_attempted - attr_accessor other: top? + attr_accessor other: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other? attr_accessor purchase_explanation: String attr_accessor service_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::service_type - attr_accessor timeshare: top? + attr_accessor timeshare: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare? def initialize: ( cardholder_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::CardholderCancellation, contracted_at: Date, guaranteed_reservation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::merchant_resolution_attempted, - other: top?, + other: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other?, purchase_explanation: String, service_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::service_type, - timeshare: top? + timeshare: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare? ) -> void def to_hash: -> { @@ -1785,10 +1889,10 @@ module Increase contracted_at: Date, guaranteed_reservation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::GuaranteedReservation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::merchant_resolution_attempted, - other: top?, + other: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Other?, purchase_explanation: String, service_type: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::service_type, - timeshare: top? + timeshare: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::Timeshare? } type cardholder_cancellation = @@ -1884,6 +1988,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::merchant_resolution_attempted] end + type other = { } + + class Other < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type service_type = :guaranteed_reservation | :other | :timeshare module ServiceType @@ -1900,6 +2012,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerCanceledServices::service_type] end + + type timeshare = { } + + class Timeshare < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end end type consumer_counterfeit_merchandise = @@ -1956,7 +2076,7 @@ module Increase type consumer_damaged_or_defective_merchandise = { merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned?, order_and_issue_explanation: String, received_at: Date, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted?, @@ -1967,7 +2087,7 @@ module Increase class ConsumerDamagedOrDefectiveMerchandise < Increase::Internal::Type::BaseModel attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted - attr_accessor not_returned: top? + attr_accessor not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned? attr_accessor order_and_issue_explanation: String @@ -1981,7 +2101,7 @@ module Increase def initialize: ( merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned?, order_and_issue_explanation: String, received_at: Date, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted?, @@ -1991,7 +2111,7 @@ module Increase def to_hash: -> { merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned?, order_and_issue_explanation: String, received_at: Date, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted?, @@ -2014,6 +2134,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerDamagedOrDefectiveMerchandise::merchant_resolution_attempted] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempt_explanation: String, @@ -2166,7 +2294,7 @@ module Increase { merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted, misrepresentation_explanation: String, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned?, purchase_explanation: String, received_at: Date, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted?, @@ -2179,7 +2307,7 @@ module Increase attr_accessor misrepresentation_explanation: String - attr_accessor not_returned: top? + attr_accessor not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned? attr_accessor purchase_explanation: String @@ -2194,7 +2322,7 @@ module Increase def initialize: ( merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted, misrepresentation_explanation: String, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned?, purchase_explanation: String, received_at: Date, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted?, @@ -2205,7 +2333,7 @@ module Increase def to_hash: -> { merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted, misrepresentation_explanation: String, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned?, purchase_explanation: String, received_at: Date, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted?, @@ -2228,6 +2356,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseMisrepresentation::merchant_resolution_attempted] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempt_explanation: String, @@ -2581,7 +2717,7 @@ module Increase last_expected_receipt_at: Date, merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::merchant_resolution_attempted, - no_cancellation: top?, + no_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation?, purchase_info_and_explanation: String } @@ -2602,7 +2738,7 @@ module Increase attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::merchant_resolution_attempted - attr_accessor no_cancellation: top? + attr_accessor no_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation? attr_accessor purchase_info_and_explanation: String @@ -2615,7 +2751,7 @@ module Increase last_expected_receipt_at: Date, merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::merchant_resolution_attempted, - no_cancellation: top?, + no_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation?, purchase_info_and_explanation: String ) -> void @@ -2628,7 +2764,7 @@ module Increase last_expected_receipt_at: Date, merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::merchant_resolution_attempted, - no_cancellation: top?, + no_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation?, purchase_info_and_explanation: String } @@ -2668,7 +2804,7 @@ module Increase type delayed = { explanation: String, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned?, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted?, return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome, returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::Returned? @@ -2677,7 +2813,7 @@ module Increase class Delayed < Increase::Internal::Type::BaseModel attr_accessor explanation: String - attr_accessor not_returned: top? + attr_accessor not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned? attr_accessor return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted? @@ -2687,7 +2823,7 @@ module Increase def initialize: ( explanation: String, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned?, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted?, return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome, returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::Returned? @@ -2695,12 +2831,20 @@ module Increase def to_hash: -> { explanation: String, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned?, return_attempted: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted?, return_outcome: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome, returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::Delayed::Returned? } + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempted_at: Date } class ReturnAttempted < Increase::Internal::Type::BaseModel @@ -2797,6 +2941,22 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived::merchant_resolution_attempted] end + + type no_cancellation = { } + + class NoCancellation < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + end + + type consumer_non_receipt_of_cash = { } + + class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } end type consumer_original_credit_transaction_not_accepted = @@ -2840,7 +3000,7 @@ module Increase { expected_at: Date, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::merchant_resolution_attempted, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned?, ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations?, purchase_info_and_quality_issue: String, received_at: Date, @@ -2854,7 +3014,7 @@ module Increase attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::merchant_resolution_attempted - attr_accessor not_returned: top? + attr_accessor not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned? attr_accessor ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations? @@ -2871,7 +3031,7 @@ module Increase def initialize: ( expected_at: Date, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::merchant_resolution_attempted, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned?, ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations?, purchase_info_and_quality_issue: String, received_at: Date, @@ -2883,7 +3043,7 @@ module Increase def to_hash: -> { expected_at: Date, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::merchant_resolution_attempted, - not_returned: top?, + not_returned: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::NotReturned?, ongoing_negotiations: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations?, purchase_info_and_quality_issue: String, received_at: Date, @@ -2907,6 +3067,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerQualityMerchandise::merchant_resolution_attempted] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type ongoing_negotiations = { explanation: String, @@ -3424,7 +3592,7 @@ module Increase last_expected_receipt_at: Date, merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantCancellation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::merchant_resolution_attempted, - no_cancellation: top?, + no_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation?, purchase_info_and_explanation: String } @@ -3439,7 +3607,7 @@ module Increase attr_accessor merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::merchant_resolution_attempted - attr_accessor no_cancellation: top? + attr_accessor no_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation? attr_accessor purchase_info_and_explanation: String @@ -3449,7 +3617,7 @@ module Increase last_expected_receipt_at: Date, merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantCancellation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::merchant_resolution_attempted, - no_cancellation: top?, + no_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation?, purchase_info_and_explanation: String ) -> void @@ -3459,7 +3627,7 @@ module Increase last_expected_receipt_at: Date, merchant_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::MerchantCancellation?, merchant_resolution_attempted: Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::merchant_resolution_attempted, - no_cancellation: top?, + no_cancellation: Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::NoCancellation?, purchase_info_and_explanation: String } @@ -3520,6 +3688,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerServicesNotReceived::merchant_resolution_attempted] end + + type no_cancellation = { } + + class NoCancellation < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end end type fraud = diff --git a/sig/increase/models/card_dispute_create_params.rbs b/sig/increase/models/card_dispute_create_params.rbs index 69fc7ede3..b84a52e6e 100644 --- a/sig/increase/models/card_dispute_create_params.rbs +++ b/sig/increase/models/card_dispute_create_params.rbs @@ -86,7 +86,7 @@ module Increase consumer_merchandise_misrepresentation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation, consumer_merchandise_not_as_described: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed, consumer_merchandise_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived, - consumer_non_receipt_of_cash: top, + consumer_non_receipt_of_cash: Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash, consumer_original_credit_transaction_not_accepted: Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted, consumer_quality_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise, consumer_quality_services: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices, @@ -160,9 +160,11 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived ) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived - attr_reader consumer_non_receipt_of_cash: top? + attr_reader consumer_non_receipt_of_cash: Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash? - def consumer_non_receipt_of_cash=: (top) -> top + def consumer_non_receipt_of_cash=: ( + Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash + ) -> Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash attr_reader consumer_original_credit_transaction_not_accepted: Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted? @@ -224,7 +226,7 @@ module Increase ?consumer_merchandise_misrepresentation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation, ?consumer_merchandise_not_as_described: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed, ?consumer_merchandise_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived, - ?consumer_non_receipt_of_cash: top, + ?consumer_non_receipt_of_cash: Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash, ?consumer_original_credit_transaction_not_accepted: Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted, ?consumer_quality_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise, ?consumer_quality_services: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices, @@ -247,7 +249,7 @@ module Increase consumer_merchandise_misrepresentation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation, consumer_merchandise_not_as_described: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotAsDescribed, consumer_merchandise_not_received: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived, - consumer_non_receipt_of_cash: top, + consumer_non_receipt_of_cash: Increase::CardDisputeCreateParams::Visa::ConsumerNonReceiptOfCash, consumer_original_credit_transaction_not_accepted: Increase::CardDisputeCreateParams::Visa::ConsumerOriginalCreditTransactionNotAccepted, consumer_quality_merchandise: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise, consumer_quality_services: Increase::CardDisputeCreateParams::Visa::ConsumerQualityServices, @@ -383,7 +385,7 @@ module Increase received_or_expected_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::return_outcome, cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation, - not_returned: top, + not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted, returned: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned } @@ -403,9 +405,11 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation ) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation - attr_reader not_returned: top? + attr_reader not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned? - def not_returned=: (top) -> top + def not_returned=: ( + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned + ) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned attr_reader return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted? @@ -425,7 +429,7 @@ module Increase received_or_expected_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::return_outcome, ?cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation, - ?not_returned: top, + ?not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned, ?return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted, ?returned: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned ) -> void @@ -436,7 +440,7 @@ module Increase received_or_expected_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::return_outcome, cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::CardholderCancellation, - not_returned: top, + not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::ReturnAttempted, returned: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledMerchandise::Returned } @@ -534,6 +538,14 @@ module Increase end end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempt_explanation: String, @@ -775,8 +787,8 @@ module Increase purchase_explanation: String, service_type: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::service_type, guaranteed_reservation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation, - other: top, - timeshare: top + other: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other, + timeshare: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare } class ConsumerCanceledServices < Increase::Internal::Type::BaseModel @@ -796,13 +808,17 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation ) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation - attr_reader other: top? + attr_reader other: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other? - def other=: (top) -> top + def other=: ( + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other + ) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other - attr_reader timeshare: top? + attr_reader timeshare: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare? - def timeshare=: (top) -> top + def timeshare=: ( + Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare + ) -> Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare def initialize: ( cardholder_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::CardholderCancellation, @@ -811,8 +827,8 @@ module Increase purchase_explanation: String, service_type: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::service_type, ?guaranteed_reservation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation, - ?other: top, - ?timeshare: top + ?other: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other, + ?timeshare: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare ) -> void def to_hash: -> { @@ -822,8 +838,8 @@ module Increase purchase_explanation: String, service_type: Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::service_type, guaranteed_reservation: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation, - other: top, - timeshare: top + other: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Other, + timeshare: Increase::CardDisputeCreateParams::Visa::ConsumerCanceledServices::Timeshare } type cardholder_cancellation = @@ -935,6 +951,22 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerCanceledServices::GuaranteedReservation::explanation] end end + + type other = { } + + class Other < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type timeshare = { } + + class Timeshare < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end end type consumer_counterfeit_merchandise = @@ -998,7 +1030,7 @@ module Increase order_and_issue_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted, returned: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned } @@ -1012,9 +1044,11 @@ module Increase attr_accessor return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::return_outcome - attr_reader not_returned: top? + attr_reader not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned? - def not_returned=: (top) -> top + def not_returned=: ( + Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned + ) -> Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned attr_reader return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted? @@ -1033,7 +1067,7 @@ module Increase order_and_issue_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::return_outcome, - ?not_returned: top, + ?not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned, ?return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted, ?returned: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned ) -> void @@ -1043,7 +1077,7 @@ module Increase order_and_issue_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted, returned: Increase::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::Returned } @@ -1080,6 +1114,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerDamagedOrDefectiveMerchandise::return_outcome] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempt_explanation: String, @@ -1218,7 +1260,7 @@ module Increase purchase_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted, returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned } @@ -1234,9 +1276,11 @@ module Increase attr_accessor return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::return_outcome - attr_reader not_returned: top? + attr_reader not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned? - def not_returned=: (top) -> top + def not_returned=: ( + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned + ) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned attr_reader return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted? @@ -1256,7 +1300,7 @@ module Increase purchase_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::return_outcome, - ?not_returned: top, + ?not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned, ?return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted, ?returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned ) -> void @@ -1267,7 +1311,7 @@ module Increase purchase_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::ReturnAttempted, returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::Returned } @@ -1304,6 +1348,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseMisrepresentation::return_outcome] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempt_explanation: String, @@ -1650,7 +1702,7 @@ module Increase delayed: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed, delivered_to_wrong_location: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation, merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation, - no_cancellation: top + no_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation } class ConsumerMerchandiseNotReceived < Increase::Internal::Type::BaseModel @@ -1688,9 +1740,11 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation ) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation - attr_reader no_cancellation: top? + attr_reader no_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation? - def no_cancellation=: (top) -> top + def no_cancellation=: ( + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation + ) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation def initialize: ( cancellation_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::cancellation_outcome, @@ -1702,7 +1756,7 @@ module Increase ?delayed: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed, ?delivered_to_wrong_location: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation, ?merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation, - ?no_cancellation: top + ?no_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation ) -> void def to_hash: -> { @@ -1715,7 +1769,7 @@ module Increase delayed: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed, delivered_to_wrong_location: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation, merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::MerchantCancellation, - no_cancellation: top + no_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::NoCancellation } type cancellation_outcome = @@ -1786,7 +1840,7 @@ module Increase { explanation: String, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted, returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::Returned } @@ -1796,9 +1850,11 @@ module Increase attr_accessor return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::return_outcome - attr_reader not_returned: top? + attr_reader not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned? - def not_returned=: (top) -> top + def not_returned=: ( + Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned + ) -> Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned attr_reader return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted? @@ -1815,7 +1871,7 @@ module Increase def initialize: ( explanation: String, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::return_outcome, - ?not_returned: top, + ?not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned, ?return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted, ?returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::Returned ) -> void @@ -1823,7 +1879,7 @@ module Increase def to_hash: -> { explanation: String, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::NotReturned, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted, returned: Increase::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::Returned } @@ -1845,6 +1901,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerMerchandiseNotReceived::Delayed::return_outcome] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempted_at: Date } class ReturnAttempted < Increase::Internal::Type::BaseModel @@ -1894,6 +1958,22 @@ module Increase def to_hash: -> { canceled_at: Date } end + + type no_cancellation = { } + + class NoCancellation < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + end + + type consumer_non_receipt_of_cash = { } + + class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } end type consumer_original_credit_transaction_not_accepted = @@ -1940,7 +2020,7 @@ module Increase purchase_info_and_quality_issue: String, received_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned, ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted, returned: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned @@ -1957,9 +2037,11 @@ module Increase attr_accessor return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::return_outcome - attr_reader not_returned: top? + attr_reader not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned? - def not_returned=: (top) -> top + def not_returned=: ( + Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned + ) -> Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned attr_reader ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations? @@ -1985,7 +2067,7 @@ module Increase purchase_info_and_quality_issue: String, received_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::return_outcome, - ?not_returned: top, + ?not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned, ?ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations, ?return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted, ?returned: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned @@ -1997,7 +2079,7 @@ module Increase purchase_info_and_quality_issue: String, received_at: Date, return_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::NotReturned, ongoing_negotiations: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::OngoingNegotiations, return_attempted: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::ReturnAttempted, returned: Increase::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::Returned @@ -2035,6 +2117,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDisputeCreateParams::Visa::ConsumerQualityMerchandise::return_outcome] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type ongoing_negotiations = { explanation: String, @@ -2548,7 +2638,7 @@ module Increase purchase_info_and_explanation: String, cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt, merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation, - no_cancellation: top + no_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation } class ConsumerServicesNotReceived < Increase::Internal::Type::BaseModel @@ -2572,9 +2662,11 @@ module Increase Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation ) -> Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation - attr_reader no_cancellation: top? + attr_reader no_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation? - def no_cancellation=: (top) -> top + def no_cancellation=: ( + Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation + ) -> Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation def initialize: ( cancellation_outcome: Increase::Models::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::cancellation_outcome, @@ -2583,7 +2675,7 @@ module Increase purchase_info_and_explanation: String, ?cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt, ?merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation, - ?no_cancellation: top + ?no_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation ) -> void def to_hash: -> { @@ -2593,7 +2685,7 @@ module Increase purchase_info_and_explanation: String, cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt, merchant_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::MerchantCancellation, - no_cancellation: top + no_cancellation: Increase::CardDisputeCreateParams::Visa::ConsumerServicesNotReceived::NoCancellation } type cancellation_outcome = @@ -2655,6 +2747,14 @@ module Increase def to_hash: -> { canceled_at: Date } end + + type no_cancellation = { } + + class NoCancellation < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end end type fraud = diff --git a/sig/increase/models/card_dispute_submit_user_submission_params.rbs b/sig/increase/models/card_dispute_submit_user_submission_params.rbs index e4abcb8fd..aa0cdbf68 100644 --- a/sig/increase/models/card_dispute_submit_user_submission_params.rbs +++ b/sig/increase/models/card_dispute_submit_user_submission_params.rbs @@ -142,7 +142,7 @@ module Increase consumer_merchandise_misrepresentation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation, consumer_merchandise_not_as_described: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotAsDescribed, consumer_merchandise_not_received: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived, - consumer_non_receipt_of_cash: top, + consumer_non_receipt_of_cash: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash, consumer_original_credit_transaction_not_accepted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerOriginalCreditTransactionNotAccepted, consumer_quality_merchandise: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise, consumer_quality_services: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityServices, @@ -216,9 +216,11 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived - attr_reader consumer_non_receipt_of_cash: top? + attr_reader consumer_non_receipt_of_cash: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash? - def consumer_non_receipt_of_cash=: (top) -> top + def consumer_non_receipt_of_cash=: ( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash + ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash attr_reader consumer_original_credit_transaction_not_accepted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerOriginalCreditTransactionNotAccepted? @@ -280,7 +282,7 @@ module Increase ?consumer_merchandise_misrepresentation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation, ?consumer_merchandise_not_as_described: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotAsDescribed, ?consumer_merchandise_not_received: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived, - ?consumer_non_receipt_of_cash: top, + ?consumer_non_receipt_of_cash: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash, ?consumer_original_credit_transaction_not_accepted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerOriginalCreditTransactionNotAccepted, ?consumer_quality_merchandise: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise, ?consumer_quality_services: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityServices, @@ -303,7 +305,7 @@ module Increase consumer_merchandise_misrepresentation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation, consumer_merchandise_not_as_described: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotAsDescribed, consumer_merchandise_not_received: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived, - consumer_non_receipt_of_cash: top, + consumer_non_receipt_of_cash: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerNonReceiptOfCash, consumer_original_credit_transaction_not_accepted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerOriginalCreditTransactionNotAccepted, consumer_quality_merchandise: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise, consumer_quality_services: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityServices, @@ -439,7 +441,7 @@ module Increase received_or_expected_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::return_outcome, cardholder_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation, - not_returned: top, + not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted, returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::Returned } @@ -459,9 +461,11 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation - attr_reader not_returned: top? + attr_reader not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned? - def not_returned=: (top) -> top + def not_returned=: ( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned + ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned attr_reader return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted? @@ -481,7 +485,7 @@ module Increase received_or_expected_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::return_outcome, ?cardholder_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation, - ?not_returned: top, + ?not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned, ?return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted, ?returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::Returned ) -> void @@ -492,7 +496,7 @@ module Increase received_or_expected_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::return_outcome, cardholder_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::CardholderCancellation, - not_returned: top, + not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::ReturnAttempted, returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledMerchandise::Returned } @@ -590,6 +594,14 @@ module Increase end end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempt_explanation: String, @@ -831,8 +843,8 @@ module Increase purchase_explanation: String, service_type: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::service_type, guaranteed_reservation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::GuaranteedReservation, - other: top, - timeshare: top + other: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other, + timeshare: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare } class ConsumerCanceledServices < Increase::Internal::Type::BaseModel @@ -852,13 +864,17 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::GuaranteedReservation ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::GuaranteedReservation - attr_reader other: top? + attr_reader other: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other? - def other=: (top) -> top + def other=: ( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other + ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other - attr_reader timeshare: top? + attr_reader timeshare: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare? - def timeshare=: (top) -> top + def timeshare=: ( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare + ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare def initialize: ( cardholder_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::CardholderCancellation, @@ -867,8 +883,8 @@ module Increase purchase_explanation: String, service_type: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::service_type, ?guaranteed_reservation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::GuaranteedReservation, - ?other: top, - ?timeshare: top + ?other: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other, + ?timeshare: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare ) -> void def to_hash: -> { @@ -878,8 +894,8 @@ module Increase purchase_explanation: String, service_type: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::service_type, guaranteed_reservation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::GuaranteedReservation, - other: top, - timeshare: top + other: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Other, + timeshare: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::Timeshare } type cardholder_cancellation = @@ -991,6 +1007,22 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerCanceledServices::GuaranteedReservation::explanation] end end + + type other = { } + + class Other < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type timeshare = { } + + class Timeshare < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end end type consumer_counterfeit_merchandise = @@ -1054,7 +1086,7 @@ module Increase order_and_issue_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted, returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned } @@ -1068,9 +1100,11 @@ module Increase attr_accessor return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::return_outcome - attr_reader not_returned: top? + attr_reader not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned? - def not_returned=: (top) -> top + def not_returned=: ( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned + ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned attr_reader return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted? @@ -1089,7 +1123,7 @@ module Increase order_and_issue_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::return_outcome, - ?not_returned: top, + ?not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned, ?return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted, ?returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned ) -> void @@ -1099,7 +1133,7 @@ module Increase order_and_issue_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::ReturnAttempted, returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::Returned } @@ -1136,6 +1170,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerDamagedOrDefectiveMerchandise::return_outcome] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempt_explanation: String, @@ -1274,7 +1316,7 @@ module Increase purchase_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted, returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::Returned } @@ -1290,9 +1332,11 @@ module Increase attr_accessor return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::return_outcome - attr_reader not_returned: top? + attr_reader not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned? - def not_returned=: (top) -> top + def not_returned=: ( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned + ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned attr_reader return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted? @@ -1312,7 +1356,7 @@ module Increase purchase_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::return_outcome, - ?not_returned: top, + ?not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned, ?return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted, ?returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::Returned ) -> void @@ -1323,7 +1367,7 @@ module Increase purchase_explanation: String, received_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::ReturnAttempted, returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::Returned } @@ -1360,6 +1404,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseMisrepresentation::return_outcome] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempt_explanation: String, @@ -1706,7 +1758,7 @@ module Increase delayed: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed, delivered_to_wrong_location: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation, merchant_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation, - no_cancellation: top + no_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation } class ConsumerMerchandiseNotReceived < Increase::Internal::Type::BaseModel @@ -1744,9 +1796,11 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation - attr_reader no_cancellation: top? + attr_reader no_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation? - def no_cancellation=: (top) -> top + def no_cancellation=: ( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation + ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation def initialize: ( cancellation_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::cancellation_outcome, @@ -1758,7 +1812,7 @@ module Increase ?delayed: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed, ?delivered_to_wrong_location: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation, ?merchant_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation, - ?no_cancellation: top + ?no_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation ) -> void def to_hash: -> { @@ -1771,7 +1825,7 @@ module Increase delayed: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed, delivered_to_wrong_location: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::DeliveredToWrongLocation, merchant_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::MerchantCancellation, - no_cancellation: top + no_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::NoCancellation } type cancellation_outcome = @@ -1842,7 +1896,7 @@ module Increase { explanation: String, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted, returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::Returned } @@ -1852,9 +1906,11 @@ module Increase attr_accessor return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome - attr_reader not_returned: top? + attr_reader not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned? - def not_returned=: (top) -> top + def not_returned=: ( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned + ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned attr_reader return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted? @@ -1871,7 +1927,7 @@ module Increase def initialize: ( explanation: String, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome, - ?not_returned: top, + ?not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned, ?return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted, ?returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::Returned ) -> void @@ -1879,7 +1935,7 @@ module Increase def to_hash: -> { explanation: String, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::NotReturned, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::ReturnAttempted, returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::Returned } @@ -1902,6 +1958,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerMerchandiseNotReceived::Delayed::return_outcome] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type return_attempted = { attempted_at: Date } class ReturnAttempted < Increase::Internal::Type::BaseModel @@ -1951,6 +2015,22 @@ module Increase def to_hash: -> { canceled_at: Date } end + + type no_cancellation = { } + + class NoCancellation < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + end + + type consumer_non_receipt_of_cash = { } + + class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } end type consumer_original_credit_transaction_not_accepted = @@ -1997,7 +2077,7 @@ module Increase purchase_info_and_quality_issue: String, received_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned, ongoing_negotiations: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::ReturnAttempted, returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::Returned @@ -2014,9 +2094,11 @@ module Increase attr_accessor return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::return_outcome - attr_reader not_returned: top? + attr_reader not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned? - def not_returned=: (top) -> top + def not_returned=: ( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned + ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned attr_reader ongoing_negotiations: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations? @@ -2042,7 +2124,7 @@ module Increase purchase_info_and_quality_issue: String, received_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::return_outcome, - ?not_returned: top, + ?not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned, ?ongoing_negotiations: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations, ?return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::ReturnAttempted, ?returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::Returned @@ -2054,7 +2136,7 @@ module Increase purchase_info_and_quality_issue: String, received_at: Date, return_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::return_outcome, - not_returned: top, + not_returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::NotReturned, ongoing_negotiations: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::OngoingNegotiations, return_attempted: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::ReturnAttempted, returned: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::Returned @@ -2092,6 +2174,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerQualityMerchandise::return_outcome] end + type not_returned = { } + + class NotReturned < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type ongoing_negotiations = { explanation: String, @@ -2605,7 +2695,7 @@ module Increase purchase_info_and_explanation: String, cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt, merchant_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::MerchantCancellation, - no_cancellation: top + no_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation } class ConsumerServicesNotReceived < Increase::Internal::Type::BaseModel @@ -2629,9 +2719,11 @@ module Increase Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::MerchantCancellation ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::MerchantCancellation - attr_reader no_cancellation: top? + attr_reader no_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation? - def no_cancellation=: (top) -> top + def no_cancellation=: ( + Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation + ) -> Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation def initialize: ( cancellation_outcome: Increase::Models::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::cancellation_outcome, @@ -2640,7 +2732,7 @@ module Increase purchase_info_and_explanation: String, ?cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt, ?merchant_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::MerchantCancellation, - ?no_cancellation: top + ?no_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation ) -> void def to_hash: -> { @@ -2650,7 +2742,7 @@ module Increase purchase_info_and_explanation: String, cardholder_cancellation_prior_to_expected_receipt: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::CardholderCancellationPriorToExpectedReceipt, merchant_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::MerchantCancellation, - no_cancellation: top + no_cancellation: Increase::CardDisputeSubmitUserSubmissionParams::Visa::Chargeback::ConsumerServicesNotReceived::NoCancellation } type cancellation_outcome = @@ -2712,6 +2804,14 @@ module Increase def to_hash: -> { canceled_at: Date } end + + type no_cancellation = { } + + class NoCancellation < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end end type fraud = diff --git a/sig/increase/models/card_payment.rbs b/sig/increase/models/card_payment.rbs index cf65e0919..8a7358c45 100644 --- a/sig/increase/models/card_payment.rbs +++ b/sig/increase/models/card_payment.rbs @@ -71,7 +71,7 @@ module Increase card_validation: Increase::CardPayment::Element::CardValidation?, category: Increase::Models::CardPayment::Element::category, created_at: Time, - other: top? + other: Increase::CardPayment::Element::Other? } class Element < Increase::Internal::Type::BaseModel @@ -101,7 +101,7 @@ module Increase attr_accessor created_at: Time - attr_accessor other: top? + attr_accessor other: Increase::CardPayment::Element::Other? def initialize: ( card_authentication: Increase::CardPayment::Element::CardAuthentication?, @@ -117,7 +117,7 @@ module Increase card_validation: Increase::CardPayment::Element::CardValidation?, category: Increase::Models::CardPayment::Element::category, created_at: Time, - other: top? + other: Increase::CardPayment::Element::Other? ) -> void def to_hash: -> { @@ -134,7 +134,7 @@ module Increase card_validation: Increase::CardPayment::Element::CardValidation?, category: Increase::Models::CardPayment::Element::category, created_at: Time, - other: top? + other: Increase::CardPayment::Element::Other? } type card_authentication = @@ -834,26 +834,26 @@ module Increase type network_details = { category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel attr_accessor category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category - attr_accessor pulse: top? + attr_accessor pulse: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse? attr_accessor visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa? def initialize: ( category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa? ) -> void def to_hash: -> { category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa? } @@ -871,6 +871,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category] end + type pulse = { } + + class Pulse < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type visa = { electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, @@ -1725,26 +1733,26 @@ module Increase type network_details = { category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel attr_accessor category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category - attr_accessor pulse: top? + attr_accessor pulse: Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse? attr_accessor visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa? def initialize: ( category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa? ) -> void def to_hash: -> { category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa? } @@ -1762,6 +1770,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category] end + type pulse = { } + + class Pulse < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type visa = { electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, @@ -2624,26 +2640,26 @@ module Increase type network_details = { category: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel attr_accessor category: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::category - attr_accessor pulse: top? + attr_accessor pulse: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse? attr_accessor visa: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa? def initialize: ( category: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa? ) -> void def to_hash: -> { category: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa? } @@ -2661,6 +2677,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::category] end + type pulse = { } + + class Pulse < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type visa = { electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?, @@ -6205,26 +6229,26 @@ module Increase type network_details = { category: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel attr_accessor category: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::category - attr_accessor pulse: top? + attr_accessor pulse: Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse? attr_accessor visa: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa? def initialize: ( category: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa? ) -> void def to_hash: -> { category: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::category, - pulse: top?, + pulse: Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse?, visa: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa? } @@ -6242,6 +6266,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::category] end + type pulse = { } + + class Pulse < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type visa = { electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator?, @@ -6617,6 +6649,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::CardPayment::Element::category] end + + type other = { } + + class Other < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end end type state = diff --git a/sig/increase/models/declined_transaction.rbs b/sig/increase/models/declined_transaction.rbs index 90ef71575..dd5531e31 100644 --- a/sig/increase/models/declined_transaction.rbs +++ b/sig/increase/models/declined_transaction.rbs @@ -113,7 +113,7 @@ module Increase check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?, inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?, inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?, - other: top?, + other: Increase::DeclinedTransaction::Source::Other?, wire_decline: Increase::DeclinedTransaction::Source::WireDecline? } @@ -132,7 +132,7 @@ module Increase attr_accessor inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline? - attr_accessor other: top? + attr_accessor other: Increase::DeclinedTransaction::Source::Other? attr_accessor wire_decline: Increase::DeclinedTransaction::Source::WireDecline? @@ -144,7 +144,7 @@ module Increase check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?, inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?, inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?, - other: top?, + other: Increase::DeclinedTransaction::Source::Other?, wire_decline: Increase::DeclinedTransaction::Source::WireDecline? ) -> void @@ -156,7 +156,7 @@ module Increase check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?, inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?, inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?, - other: top?, + other: Increase::DeclinedTransaction::Source::Other?, wire_decline: Increase::DeclinedTransaction::Source::WireDecline? } @@ -716,26 +716,26 @@ module Increase type network_details = { category: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::category, - pulse: top?, + pulse: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse?, visa: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel attr_accessor category: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::category - attr_accessor pulse: top? + attr_accessor pulse: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse? attr_accessor visa: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa? def initialize: ( category: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::category, - pulse: top?, + pulse: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse?, visa: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa? ) -> void def to_hash: -> { category: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::category, - pulse: top?, + pulse: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse?, visa: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa? } @@ -753,6 +753,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::category] end + type pulse = { } + + class Pulse < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type visa = { electronic_commerce_indicator: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, @@ -1688,6 +1696,14 @@ module Increase end end + type other = { } + + class Other < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type wire_decline = { inbound_wire_transfer_id: String, diff --git a/sig/increase/models/export_create_params.rbs b/sig/increase/models/export_create_params.rbs index a01bcac6d..213b7bb1d 100644 --- a/sig/increase/models/export_create_params.rbs +++ b/sig/increase/models/export_create_params.rbs @@ -9,7 +9,7 @@ module Increase bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv, entity_csv: Increase::ExportCreateParams::EntityCsv, transaction_csv: Increase::ExportCreateParams::TransactionCsv, - vendor_csv: top + vendor_csv: Increase::ExportCreateParams::VendorCsv } & Increase::Internal::Type::request_parameters @@ -55,9 +55,11 @@ module Increase Increase::ExportCreateParams::TransactionCsv ) -> Increase::ExportCreateParams::TransactionCsv - attr_reader vendor_csv: top? + attr_reader vendor_csv: Increase::ExportCreateParams::VendorCsv? - def vendor_csv=: (top) -> top + def vendor_csv=: ( + Increase::ExportCreateParams::VendorCsv + ) -> Increase::ExportCreateParams::VendorCsv def initialize: ( category: Increase::Models::ExportCreateParams::category, @@ -67,7 +69,7 @@ module Increase ?bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv, ?entity_csv: Increase::ExportCreateParams::EntityCsv, ?transaction_csv: Increase::ExportCreateParams::TransactionCsv, - ?vendor_csv: top, + ?vendor_csv: Increase::ExportCreateParams::VendorCsv, ?request_options: Increase::request_opts ) -> void @@ -79,7 +81,7 @@ module Increase bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv, entity_csv: Increase::ExportCreateParams::EntityCsv, transaction_csv: Increase::ExportCreateParams::TransactionCsv, - vendor_csv: top, + vendor_csv: Increase::ExportCreateParams::VendorCsv, request_options: Increase::RequestOptions } @@ -464,6 +466,14 @@ module Increase } end end + + type vendor_csv = { } + + class VendorCsv < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end end end end diff --git a/sig/increase/models/pending_transaction.rbs b/sig/increase/models/pending_transaction.rbs index 9a787e8fe..8cedcc970 100644 --- a/sig/increase/models/pending_transaction.rbs +++ b/sig/increase/models/pending_transaction.rbs @@ -131,7 +131,7 @@ module Increase fednow_transfer_instruction: Increase::PendingTransaction::Source::FednowTransferInstruction?, inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?, inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?, - other: top?, + other: Increase::PendingTransaction::Source::Other?, real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?, swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?, user_initiated_hold: ::Hash[Symbol, top]?, @@ -159,7 +159,7 @@ module Increase attr_accessor inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal? - attr_accessor other: top? + attr_accessor other: Increase::PendingTransaction::Source::Other? attr_accessor real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction? @@ -180,7 +180,7 @@ module Increase fednow_transfer_instruction: Increase::PendingTransaction::Source::FednowTransferInstruction?, inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?, inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?, - other: top?, + other: Increase::PendingTransaction::Source::Other?, real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?, swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?, user_initiated_hold: ::Hash[Symbol, top]?, @@ -198,7 +198,7 @@ module Increase fednow_transfer_instruction: Increase::PendingTransaction::Source::FednowTransferInstruction?, inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?, inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?, - other: top?, + other: Increase::PendingTransaction::Source::Other?, real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?, swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?, user_initiated_hold: ::Hash[Symbol, top]?, @@ -663,26 +663,26 @@ module Increase type network_details = { category: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::category, - pulse: top?, + pulse: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse?, visa: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel attr_accessor category: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::category - attr_accessor pulse: top? + attr_accessor pulse: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse? attr_accessor visa: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa? def initialize: ( category: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::category, - pulse: top?, + pulse: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse?, visa: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa? ) -> void def to_hash: -> { category: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::category, - pulse: top?, + pulse: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse?, visa: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa? } @@ -700,6 +700,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::category] end + type pulse = { } + + class Pulse < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type visa = { electronic_commerce_indicator: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, @@ -1385,6 +1393,14 @@ module Increase def to_hash: -> { inbound_wire_transfer_id: String } end + type other = { } + + class Other < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type real_time_payments_transfer_instruction = { amount: Integer, transfer_id: String } diff --git a/sig/increase/models/real_time_decision.rbs b/sig/increase/models/real_time_decision.rbs index 406c4c851..dc600c642 100644 --- a/sig/increase/models/real_time_decision.rbs +++ b/sig/increase/models/real_time_decision.rbs @@ -535,26 +535,26 @@ module Increase type network_details = { category: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::category, - pulse: top?, + pulse: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse?, visa: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel attr_accessor category: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::category - attr_accessor pulse: top? + attr_accessor pulse: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse? attr_accessor visa: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa? def initialize: ( category: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::category, - pulse: top?, + pulse: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse?, visa: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa? ) -> void def to_hash: -> { category: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::category, - pulse: top?, + pulse: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse?, visa: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa? } @@ -572,6 +572,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::category] end + type pulse = { } + + class Pulse < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type visa = { electronic_commerce_indicator: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, @@ -804,7 +812,7 @@ module Increase { category: Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::category, incremental_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization?, - initial_authorization: top? + initial_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization? } class RequestDetails < Increase::Internal::Type::BaseModel @@ -812,18 +820,18 @@ module Increase attr_accessor incremental_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization? - attr_accessor initial_authorization: top? + attr_accessor initial_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization? def initialize: ( category: Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::category, incremental_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization?, - initial_authorization: top? + initial_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization? ) -> void def to_hash: -> { category: Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::category, incremental_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization?, - initial_authorization: top? + initial_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization? } type category = :initial_authorization | :incremental_authorization @@ -858,6 +866,14 @@ module Increase original_card_authorization_id: String } end + + type initial_authorization = { } + + class InitialAuthorization < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end end type verification = diff --git a/sig/increase/models/simulations/card_dispute_action_params.rbs b/sig/increase/models/simulations/card_dispute_action_params.rbs index 749cc2d49..0b3ff8079 100644 --- a/sig/increase/models/simulations/card_dispute_action_params.rbs +++ b/sig/increase/models/simulations/card_dispute_action_params.rbs @@ -46,40 +46,50 @@ module Increase type visa = { action: Increase::Models::Simulations::CardDisputeActionParams::Visa::action, - accept_chargeback: top, - accept_user_submission: top, - decline_user_prearbitration: top, - receive_merchant_prearbitration: top, - represent: top, + accept_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback, + accept_user_submission: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission, + decline_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration, + receive_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration, + represent: Increase::Simulations::CardDisputeActionParams::Visa::Represent, request_further_information: Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation, - time_out_chargeback: top, - time_out_merchant_prearbitration: top, - time_out_representment: top, - time_out_user_prearbitration: top + time_out_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback, + time_out_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration, + time_out_representment: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment, + time_out_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration } class Visa < Increase::Internal::Type::BaseModel attr_accessor action: Increase::Models::Simulations::CardDisputeActionParams::Visa::action - attr_reader accept_chargeback: top? + attr_reader accept_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback? - def accept_chargeback=: (top) -> top + def accept_chargeback=: ( + Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback + ) -> Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback - attr_reader accept_user_submission: top? + attr_reader accept_user_submission: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission? - def accept_user_submission=: (top) -> top + def accept_user_submission=: ( + Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission + ) -> Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission - attr_reader decline_user_prearbitration: top? + attr_reader decline_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration? - def decline_user_prearbitration=: (top) -> top + def decline_user_prearbitration=: ( + Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration + ) -> Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration - attr_reader receive_merchant_prearbitration: top? + attr_reader receive_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration? - def receive_merchant_prearbitration=: (top) -> top + def receive_merchant_prearbitration=: ( + Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration + ) -> Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration - attr_reader represent: top? + attr_reader represent: Increase::Simulations::CardDisputeActionParams::Visa::Represent? - def represent=: (top) -> top + def represent=: ( + Increase::Simulations::CardDisputeActionParams::Visa::Represent + ) -> Increase::Simulations::CardDisputeActionParams::Visa::Represent attr_reader request_further_information: Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation? @@ -87,48 +97,56 @@ module Increase Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation ) -> Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation - attr_reader time_out_chargeback: top? + attr_reader time_out_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback? - def time_out_chargeback=: (top) -> top + def time_out_chargeback=: ( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback + ) -> Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback - attr_reader time_out_merchant_prearbitration: top? + attr_reader time_out_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration? - def time_out_merchant_prearbitration=: (top) -> top + def time_out_merchant_prearbitration=: ( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration + ) -> Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration - attr_reader time_out_representment: top? + attr_reader time_out_representment: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment? - def time_out_representment=: (top) -> top + def time_out_representment=: ( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment + ) -> Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment - attr_reader time_out_user_prearbitration: top? + attr_reader time_out_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration? - def time_out_user_prearbitration=: (top) -> top + def time_out_user_prearbitration=: ( + Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration + ) -> Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration def initialize: ( action: Increase::Models::Simulations::CardDisputeActionParams::Visa::action, - ?accept_chargeback: top, - ?accept_user_submission: top, - ?decline_user_prearbitration: top, - ?receive_merchant_prearbitration: top, - ?represent: top, + ?accept_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback, + ?accept_user_submission: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission, + ?decline_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration, + ?receive_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration, + ?represent: Increase::Simulations::CardDisputeActionParams::Visa::Represent, ?request_further_information: Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation, - ?time_out_chargeback: top, - ?time_out_merchant_prearbitration: top, - ?time_out_representment: top, - ?time_out_user_prearbitration: top + ?time_out_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback, + ?time_out_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration, + ?time_out_representment: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment, + ?time_out_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration ) -> void def to_hash: -> { action: Increase::Models::Simulations::CardDisputeActionParams::Visa::action, - accept_chargeback: top, - accept_user_submission: top, - decline_user_prearbitration: top, - receive_merchant_prearbitration: top, - represent: top, + accept_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::AcceptChargeback, + accept_user_submission: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission, + decline_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration, + receive_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration, + represent: Increase::Simulations::CardDisputeActionParams::Visa::Represent, request_further_information: Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation, - time_out_chargeback: top, - time_out_merchant_prearbitration: top, - time_out_representment: top, - time_out_user_prearbitration: top + time_out_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback, + time_out_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutMerchantPrearbitration, + time_out_representment: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutRepresentment, + time_out_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration } type action = @@ -179,6 +197,46 @@ module Increase def self?.values: -> ::Array[Increase::Models::Simulations::CardDisputeActionParams::Visa::action] end + type accept_chargeback = { } + + class AcceptChargeback < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type accept_user_submission = { } + + class AcceptUserSubmission < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type decline_user_prearbitration = { } + + class DeclineUserPrearbitration < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type receive_merchant_prearbitration = { } + + class ReceiveMerchantPrearbitration < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type represent = { } + + class Represent < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type request_further_information = { reason: String } class RequestFurtherInformation < Increase::Internal::Type::BaseModel @@ -188,6 +246,38 @@ module Increase def to_hash: -> { reason: String } end + + type time_out_chargeback = { } + + class TimeOutChargeback < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type time_out_merchant_prearbitration = { } + + class TimeOutMerchantPrearbitration < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type time_out_representment = { } + + class TimeOutRepresentment < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + + type time_out_user_prearbitration = { } + + class TimeOutUserPrearbitration < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end end end end diff --git a/sig/increase/models/transaction.rbs b/sig/increase/models/transaction.rbs index cc5a5e4d8..169580246 100644 --- a/sig/increase/models/transaction.rbs +++ b/sig/increase/models/transaction.rbs @@ -137,7 +137,7 @@ module Increase inbound_wire_transfer_reversal: Increase::Transaction::Source::InboundWireTransferReversal?, interest_payment: Increase::Transaction::Source::InterestPayment?, internal_source: Increase::Transaction::Source::InternalSource?, - other: top?, + other: Increase::Transaction::Source::Other?, real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?, sample_funds: Increase::Transaction::Source::SampleFunds?, swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?, @@ -208,7 +208,7 @@ module Increase attr_accessor internal_source: Increase::Transaction::Source::InternalSource? - attr_accessor other: top? + attr_accessor other: Increase::Transaction::Source::Other? attr_accessor real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement? @@ -252,7 +252,7 @@ module Increase inbound_wire_transfer_reversal: Increase::Transaction::Source::InboundWireTransferReversal?, interest_payment: Increase::Transaction::Source::InterestPayment?, internal_source: Increase::Transaction::Source::InternalSource?, - other: top?, + other: Increase::Transaction::Source::Other?, real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?, sample_funds: Increase::Transaction::Source::SampleFunds?, swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?, @@ -292,7 +292,7 @@ module Increase inbound_wire_transfer_reversal: Increase::Transaction::Source::InboundWireTransferReversal?, interest_payment: Increase::Transaction::Source::InterestPayment?, internal_source: Increase::Transaction::Source::InternalSource?, - other: top?, + other: Increase::Transaction::Source::Other?, real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?, sample_funds: Increase::Transaction::Source::SampleFunds?, swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?, @@ -1295,26 +1295,26 @@ module Increase type network_details = { category: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::category, - pulse: top?, + pulse: Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse?, visa: Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel attr_accessor category: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::category - attr_accessor pulse: top? + attr_accessor pulse: Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse? attr_accessor visa: Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa? def initialize: ( category: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::category, - pulse: top?, + pulse: Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse?, visa: Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa? ) -> void def to_hash: -> { category: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::category, - pulse: top?, + pulse: Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse?, visa: Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa? } @@ -1332,6 +1332,14 @@ module Increase def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::category] end + type pulse = { } + + class Pulse < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type visa = { electronic_commerce_indicator: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?, @@ -5164,6 +5172,14 @@ module Increase end end + type other = { } + + class Other < Increase::Internal::Type::BaseModel + def initialize: -> void + + def to_hash: -> { } + end + type real_time_payments_transfer_acknowledgement = { amount: Integer, diff --git a/sig/increase/resources/exports.rbs b/sig/increase/resources/exports.rbs index d3c9f2b23..b2381ee68 100644 --- a/sig/increase/resources/exports.rbs +++ b/sig/increase/resources/exports.rbs @@ -9,7 +9,7 @@ module Increase ?bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv, ?entity_csv: Increase::ExportCreateParams::EntityCsv, ?transaction_csv: Increase::ExportCreateParams::TransactionCsv, - ?vendor_csv: top, + ?vendor_csv: Increase::ExportCreateParams::VendorCsv, ?request_options: Increase::request_opts ) -> Increase::Export From 0d2742a293e42c279edfcfe70bd004b75c472bbe Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:10:22 +0000 Subject: [PATCH 2/2] release: 1.128.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/increase/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ee91fdf29..45db88ff5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.127.0" + ".": "1.128.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f0874e3a7..3919aea39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.128.0 (2025-10-31) + +Full Changelog: [v1.127.0...v1.128.0](https://github.com/Increase/increase-ruby/compare/v1.127.0...v1.128.0) + +### Features + +* **api:** api update ([a0269b7](https://github.com/Increase/increase-ruby/commit/a0269b7249406610e90a84a2b2c3cc391f5896f9)) + ## 1.127.0 (2025-10-31) Full Changelog: [v1.126.0...v1.127.0](https://github.com/Increase/increase-ruby/compare/v1.126.0...v1.127.0) diff --git a/Gemfile.lock b/Gemfile.lock index adf8d7128..d714fc35b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.127.0) + increase (1.128.0) connection_pool GEM diff --git a/README.md b/README.md index e89270d86..6bf47ff49 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "increase", "~> 1.127.0" +gem "increase", "~> 1.128.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 5529645fc..82fb87d33 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.127.0" + VERSION = "1.128.0" end