Skip to content
Closed
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: d691eb2845a0108278fe81faa111d29f
openapi_spec_hash: e8136cf3fc19b9f1d4632136a98880cd
config_hash: 1ca082e374ef7000e2a5971e8da740e0
14 changes: 7 additions & 7 deletions lib/increase/models/pending_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class PendingTransaction < Increase::Internal::Type::BaseModel

# @!attribute amount
# The Pending Transaction amount in the minor unit of its currency. For dollars,
# for example, this is cents. This amount does not change after the Pending
# Transaction is created. If a card authorization settles for a different amount,
# the settled amount is available on the resulting Transaction and on the Card
# for example, this is cents. For a card authorization this is the amount still
# held: it decreases when the merchant reverses part of the authorization. The
# amount that settled is available on the resulting Transaction and on the Card
# Payment's `state.settled_amount`.
#
# @return [Integer]
Expand Down Expand Up @@ -111,9 +111,9 @@ class PendingTransaction < Increase::Internal::Type::BaseModel
#
# @param amount [Integer]
# The Pending Transaction amount in the minor unit of its currency. For dollars,
# for example, this is cents. This amount does not change after the Pending
# Transaction is created. If a card authorization settles for a different amount,
# the settled amount is available on the resulting Transaction and on the Card
# for example, this is cents. For a card authorization this is the amount still
# held: it decreases when the merchant reverses part of the authorization. The
# amount that settled is available on the resulting Transaction and on the Card
# Payment's `state.settled_amount`.
#
# @param completed_at [Time, nil]
Expand Down Expand Up @@ -2811,7 +2811,7 @@ module Status
# The Pending Transaction is still awaiting confirmation.
PENDING = :pending

# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is not updated if the associated Transaction settles for a different amount.
# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
COMPLETE = :complete

# @!method self.values
Expand Down
2 changes: 1 addition & 1 deletion lib/increase/models/pending_transaction_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ module In
# The Pending Transaction is still awaiting confirmation.
PENDING = :pending

# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is not updated if the associated Transaction settles for a different amount.
# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
COMPLETE = :complete

# @!method self.values
Expand Down
14 changes: 7 additions & 7 deletions rbi/increase/models/pending_transaction.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ module Increase
attr_accessor :account_id

# The Pending Transaction amount in the minor unit of its currency. For dollars,
# for example, this is cents. This amount does not change after the Pending
# Transaction is created. If a card authorization settles for a different amount,
# the settled amount is available on the resulting Transaction and on the Card
# for example, this is cents. For a card authorization this is the amount still
# held: it decreases when the merchant reverses part of the authorization. The
# amount that settled is available on the resulting Transaction and on the Card
# Payment's `state.settled_amount`.
sig { returns(Integer) }
attr_accessor :amount
Expand Down Expand Up @@ -112,9 +112,9 @@ module Increase
# The identifier for the account this Pending Transaction belongs to.
account_id:,
# The Pending Transaction amount in the minor unit of its currency. For dollars,
# for example, this is cents. This amount does not change after the Pending
# Transaction is created. If a card authorization settles for a different amount,
# the settled amount is available on the resulting Transaction and on the Card
# for example, this is cents. For a card authorization this is the amount still
# held: it decreases when the merchant reverses part of the authorization. The
# amount that settled is available on the resulting Transaction and on the Card
# Payment's `state.settled_amount`.
amount:,
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
Expand Down Expand Up @@ -5004,7 +5004,7 @@ module Increase
PENDING =
T.let(:pending, Increase::PendingTransaction::Status::TaggedSymbol)

# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is not updated if the associated Transaction settles for a different amount.
# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
COMPLETE =
T.let(:complete, Increase::PendingTransaction::Status::TaggedSymbol)

Expand Down
2 changes: 1 addition & 1 deletion rbi/increase/models/pending_transaction_list_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ module Increase
Increase::PendingTransactionListParams::Status::In::TaggedSymbol
)

# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is not updated if the associated Transaction settles for a different amount.
# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
COMPLETE =
T.let(
:complete,
Expand Down
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sig/increase/models/pending_transaction.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -1834,7 +1834,7 @@ module Increase
# The Pending Transaction is still awaiting confirmation.
PENDING: :pending

# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is not updated if the associated Transaction settles for a different amount.
# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
COMPLETE: :complete

def self?.values: -> ::Array[Increase::Models::PendingTransaction::status]
Expand Down
2 changes: 1 addition & 1 deletion sig/increase/models/pending_transaction_list_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ module Increase
# The Pending Transaction is still awaiting confirmation.
PENDING: :pending

# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is not updated if the associated Transaction settles for a different amount.
# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
COMPLETE: :complete

def self?.values: -> ::Array[Increase::Models::PendingTransactionListParams::Status::in_]
Expand Down