Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 239
openapi_spec_hash: 49d468466a752f8ea72af00d00683f50
openapi_spec_hash: a4310129fc2e35661b1d1e92a2fa9e55
config_hash: 1ca082e374ef7000e2a5971e8da740e0
10 changes: 9 additions & 1 deletion lib/increase/models/card_dispute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ class CardDispute < Increase::Internal::Type::BaseModel
# @return [String]
required :id, String

# @!attribute account_id
# The Account that the Card Dispute is associated with.
#
# @return [String]
required :account_id, String

# @!attribute amount
# The amount of the dispute.
#
Expand Down Expand Up @@ -107,12 +113,14 @@ class CardDispute < Increase::Internal::Type::BaseModel
# @return [Increase::Models::CardDispute::Withdrawal, nil]
required :withdrawal, -> { Increase::CardDispute::Withdrawal }, nil?: true

# @!method initialize(id:, amount:, card_id:, created_at:, disputed_transaction_id:, idempotency_key:, loss:, network:, rejection:, status:, type:, user_submission_required_by:, visa:, win:, withdrawal:)
# @!method initialize(id:, account_id:, amount:, card_id:, created_at:, disputed_transaction_id:, idempotency_key:, loss:, network:, rejection:, status:, type:, user_submission_required_by:, visa:, win:, withdrawal:)
# If unauthorized activity occurs on a card, you can create a Card Dispute and
# we'll work with the card networks to return the funds if appropriate.
#
# @param id [String] The Card Dispute identifier.
#
# @param account_id [String] The Account that the Card Dispute is associated with.
#
# @param amount [Integer] The amount of the dispute.
#
# @param card_id [String] The Card that the Card Dispute is associated with.
Expand Down
10 changes: 9 additions & 1 deletion lib/increase/models/card_purchase_supplement.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ class CardPurchaseSupplement < Increase::Internal::Type::BaseModel
# @return [String]
required :id, String

# @!attribute account_id
# The identifier for the Account the Card Purchase Supplement belongs to.
#
# @return [String]
required :account_id, String

# @!attribute card_payment_id
# The ID of the Card Payment this transaction belongs to.
#
Expand Down Expand Up @@ -49,12 +55,14 @@ class CardPurchaseSupplement < Increase::Internal::Type::BaseModel
# @return [Symbol, Increase::Models::CardPurchaseSupplement::Type]
required :type, enum: -> { Increase::CardPurchaseSupplement::Type }

# @!method initialize(id:, card_payment_id:, invoice:, line_items:, shipping:, transaction_id:, type:)
# @!method initialize(id:, account_id:, card_payment_id:, invoice:, line_items:, shipping:, transaction_id:, type:)
# Additional information about a card purchase (e.g., settlement or refund), such
# as level 3 line item data.
#
# @param id [String] The Card Purchase Supplement identifier.
#
# @param account_id [String] The identifier for the Account the Card Purchase Supplement belongs to.
#
# @param card_payment_id [String, nil] The ID of the Card Payment this transaction belongs to.
#
# @param invoice [Increase::Models::CardPurchaseSupplement::Invoice, nil]
Expand Down
9 changes: 7 additions & 2 deletions lib/increase/models/check_transfer_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel
optional :check_voucher_image_file_id, String

# @!attribute note
# The descriptor that will be printed on the letter included with the check.
# A few paragraphs of text printed on the letter included with the check. It can
# contain at most 22 lines. Paragraphs will wrap at about 120 characters, but
# depending on your exact message, it might be slightly more or slightly less.
#
# @return [String, nil]
optional :note, String
Expand Down Expand Up @@ -264,7 +266,10 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel
# `purpose: check_voucher_image`. For details on pricing and restrictions, see
# https://increase.com/documentation/originating-checks#printing-checks .
#
# @param note [String] The descriptor that will be printed on the letter included with the check.
# @param note [String]
# A few paragraphs of text printed on the letter included with the check. It can
# contain at most 22 lines. Paragraphs will wrap at about 120 characters, but
# depending on your exact message, it might be slightly more or slightly less.
#
# @param physical_check_batch_id [String]
# The identifier of the Physical Check Batch to mail this check as a part of.
Expand Down
3 changes: 3 additions & 0 deletions lib/increase/models/declined_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2445,6 +2445,9 @@ module Reason
# Your account is not enabled to receive FedNow transfers.
FEDNOW_NOT_ENABLED = :fednow_not_enabled

# The transaction is not allowed per Increase's terms.
TRANSACTION_NOT_ALLOWED = :transaction_not_allowed

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down
10 changes: 9 additions & 1 deletion lib/increase/models/digital_wallet_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ class DigitalWalletToken < Increase::Internal::Type::BaseModel
# @return [String]
required :id, String

# @!attribute account_id
# The identifier for the Account this Digital Wallet Token belongs to.
#
# @return [String]
required :account_id, String

# @!attribute card_id
# The identifier for the Card this Digital Wallet Token belongs to.
#
Expand Down Expand Up @@ -75,13 +81,15 @@ class DigitalWalletToken < Increase::Internal::Type::BaseModel
# @return [Array<Increase::Models::DigitalWalletToken::Update>]
required :updates, -> { Increase::Internal::Type::ArrayOf[Increase::DigitalWalletToken::Update] }

# @!method initialize(id:, card_id:, cardholder:, created_at:, decline:, device:, dynamic_primary_account_number:, status:, token_requestor:, type:, updates:)
# @!method initialize(id:, account_id:, card_id:, cardholder:, created_at:, decline:, device:, dynamic_primary_account_number:, status:, token_requestor:, type:, updates:)
# A Digital Wallet Token is created when a user adds a Card to their Apple Pay or
# Google Pay app. The Digital Wallet Token can be used for purchases just like a
# Card.
#
# @param id [String] The Digital Wallet Token identifier.
#
# @param account_id [String] The identifier for the Account this Digital Wallet Token belongs to.
#
# @param card_id [String] The identifier for the Card this Digital Wallet Token belongs to.
#
# @param cardholder [Increase::Models::DigitalWalletToken::Cardholder]
Expand Down
Loading