Class: Increase::Models::CardPushTransfer

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_push_transfer.rb

Overview

Defined Under Namespace

Modules: BusinessApplicationIdentifier, Status, Type Classes: Acceptance, Approval, Cancellation, CreatedBy, Decline, PresentmentAmount, Submission

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(retrieval_reference_number: , sender_reference: , submitted_at: , trace_number: ) ⇒ Object

Some parameter documentations has been truncated, see Submission for more details.

After the transfer is submitted to the card network, this will contain supplemental details.

Parameters:

  • retrieval_reference_number (String) (defaults to: )

    A 12-digit retrieval reference number that identifies the transfer. Usually a co

  • sender_reference (String) (defaults to: )

    A unique reference for the transfer.

  • submitted_at (Time) (defaults to: )

    The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which th

  • trace_number (String) (defaults to: )

    A 6-digit trace number that identifies the transfer within a small window of tim



# File 'lib/increase/models/card_push_transfer.rb', line 189


Instance Attribute Details

#acceptanceIncrease::Models::CardPushTransfer::Acceptance?

If the transfer is accepted by the recipient bank, this will contain supplemental details.



18
# File 'lib/increase/models/card_push_transfer.rb', line 18

required :acceptance, -> { Increase::CardPushTransfer::Acceptance }, nil?: true

#account_idString

The Account from which the transfer was sent.

Returns:

  • (String)


24
# File 'lib/increase/models/card_push_transfer.rb', line 24

required :account_id, String

#approvalIncrease::Models::CardPushTransfer::Approval?

If your account requires approvals for transfers and the transfer was approved, this will contain details of the approval.



31
# File 'lib/increase/models/card_push_transfer.rb', line 31

required :approval, -> { Increase::CardPushTransfer::Approval }, nil?: true

#business_application_identifierSymbol, Increase::Models::CardPushTransfer::BusinessApplicationIdentifier

The Business Application Identifier describes the type of transaction being performed. Your program must be approved for the specified Business Application Identifier in order to use it.



39
40
# File 'lib/increase/models/card_push_transfer.rb', line 39

required :business_application_identifier,
enum: -> { Increase::CardPushTransfer::BusinessApplicationIdentifier }

#cancellationIncrease::Models::CardPushTransfer::Cancellation?

If your account requires approvals for transfers and the transfer was not approved, this will contain details of the cancellation.



47
# File 'lib/increase/models/card_push_transfer.rb', line 47

required :cancellation, -> { Increase::CardPushTransfer::Cancellation }, nil?: true

#created_atTime

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the transfer was created.

Returns:

  • (Time)


54
# File 'lib/increase/models/card_push_transfer.rb', line 54

required :created_at, Time

#created_byIncrease::Models::CardPushTransfer::CreatedBy?

What object created the transfer, either via the API or the dashboard.



60
# File 'lib/increase/models/card_push_transfer.rb', line 60

required :created_by, -> { Increase::CardPushTransfer::CreatedBy }, nil?: true

#declineIncrease::Models::CardPushTransfer::Decline?

If the transfer is rejected by the card network or the destination financial institution, this will contain supplemental details.



67
# File 'lib/increase/models/card_push_transfer.rb', line 67

required :decline, -> { Increase::CardPushTransfer::Decline }, nil?: true

#idString

The Card Push Transfer’s identifier.

Returns:

  • (String)


11
# File 'lib/increase/models/card_push_transfer.rb', line 11

required :id, String

#idempotency_keyString?

The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](increase.com/documentation/idempotency-keys).

Returns:

  • (String, nil)


75
# File 'lib/increase/models/card_push_transfer.rb', line 75

required :idempotency_key, String, nil?: true

#merchant_category_codeString

The merchant category code (MCC) of the merchant (generally your business) sending the transfer. This is a four-digit code that describes the type of business or service provided by the merchant. Your program must be approved for the specified MCC in order to use it.

Returns:

  • (String)


84
# File 'lib/increase/models/card_push_transfer.rb', line 84

required :merchant_category_code, String

#merchant_city_nameString

The city name of the merchant (generally your business) sending the transfer.

Returns:

  • (String)


90
# File 'lib/increase/models/card_push_transfer.rb', line 90

required :merchant_city_name, String

#merchant_nameString

The merchant name shows up as the statement descriptor for the transfer. This is typically the name of your business or organization.

Returns:

  • (String)


97
# File 'lib/increase/models/card_push_transfer.rb', line 97

required :merchant_name, String

#merchant_name_prefixString

For certain Business Application Identifiers, the statement descriptor is ‘merchant_name_prefix*sender_name`, where the `merchant_name_prefix` is a one to four character prefix that identifies the merchant.

Returns:

  • (String)


105
# File 'lib/increase/models/card_push_transfer.rb', line 105

required :merchant_name_prefix, String

#merchant_postal_codeString

The postal code of the merchant (generally your business) sending the transfer.

Returns:

  • (String)


111
# File 'lib/increase/models/card_push_transfer.rb', line 111

required :merchant_postal_code, String

#merchant_stateString

The state of the merchant (generally your business) sending the transfer.

Returns:

  • (String)


117
# File 'lib/increase/models/card_push_transfer.rb', line 117

required :merchant_state, String

#presentment_amountIncrease::Models::CardPushTransfer::PresentmentAmount

The amount that was transferred. The receiving bank will have converted this to the cardholder’s currency. The amount that is applied to your Increase account matches the currency of your account.



125
# File 'lib/increase/models/card_push_transfer.rb', line 125

required :presentment_amount, -> { Increase::CardPushTransfer::PresentmentAmount }

#recipient_nameString

The name of the funds recipient.

Returns:

  • (String)


131
# File 'lib/increase/models/card_push_transfer.rb', line 131

required :recipient_name, String

#sender_address_cityString

The city of the sender.

Returns:

  • (String)


137
# File 'lib/increase/models/card_push_transfer.rb', line 137

required :sender_address_city, String

#sender_address_line1String

The address line 1 of the sender.

Returns:

  • (String)


143
# File 'lib/increase/models/card_push_transfer.rb', line 143

required :sender_address_line1, String

#sender_address_postal_codeString

The postal code of the sender.

Returns:

  • (String)


149
# File 'lib/increase/models/card_push_transfer.rb', line 149

required :sender_address_postal_code, String

#sender_address_stateString

The state of the sender.

Returns:

  • (String)


155
# File 'lib/increase/models/card_push_transfer.rb', line 155

required :sender_address_state, String

#sender_nameString

The name of the funds originator.

Returns:

  • (String)


161
# File 'lib/increase/models/card_push_transfer.rb', line 161

required :sender_name, String

#source_account_number_idString

The Account Number the recipient will see as having sent the transfer.

Returns:

  • (String)


167
# File 'lib/increase/models/card_push_transfer.rb', line 167

required :source_account_number_id, String

#statusSymbol, Increase::Models::CardPushTransfer::Status

The lifecycle status of the transfer.



173
# File 'lib/increase/models/card_push_transfer.rb', line 173

required :status, enum: -> { Increase::CardPushTransfer::Status }

#submissionIncrease::Models::CardPushTransfer::Submission?

After the transfer is submitted to the card network, this will contain supplemental details.



180
# File 'lib/increase/models/card_push_transfer.rb', line 180

required :submission, -> { Increase::CardPushTransfer::Submission }, nil?: true

#typeSymbol, Increase::Models::CardPushTransfer::Type

A constant representing the object’s type. For this resource it will always be ‘card_push_transfer`.



187
# File 'lib/increase/models/card_push_transfer.rb', line 187

required :type, enum: -> { Increase::CardPushTransfer::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/card_push_transfer.rb', line 313