Class: C2eCore::Drops::CreditsRefundRequestDrop

Inherits:
BaseDrop
  • Object
show all
Includes:
ActionView::Helpers::NumberHelper
Defined in:
/build/app/mailers/c2e_core/drops/credits_refund_request_drop.rb

Instance Method Summary collapse

Constructor Details

#initialize(refund_request) ⇒ CreditsRefundRequestDrop

Returns a new instance of CreditsRefundRequestDrop.

Instance Method Details

#account_holderString?

Returns - The name of the account holder used in the request.

Returns:

  • (String, nil)
    • The name of the account holder used in the request.

#account_numberString

Returns - The account number used in the request. It can be in a national format for the Czech Republic (e.g. "19-2000145399/0800") or in an IBAN format (e.g. CZ6508000000192000145399).

Returns:

  • (String)
    • The account number used in the request. It can be in a national format for the Czech

    Republic (e.g. "19-2000145399/0800") or in an IBAN format (e.g. CZ6508000000192000145399).

#amountFloat

Returns - The refund request amount, e.g. 123.45.

Returns:

  • (Float)
    • The refund request amount, e.g. 123.45.

#currencyCurrencyDrop

Returns - The currency of the request amount as a drop object.

Returns:

  • (CurrencyDrop)
    • The currency of the request amount as a drop object.

#formatted_amountString

Returns - The refund request amount formatted in its currency, e.g. "123,45 Kč".

Returns:

  • (String)
    • The refund request amount formatted in its currency, e.g. "123,45 Kč".

#requested_atDateTime

Returns - The date and time when the request was made.

Returns:

  • (DateTime)
    • The date and time when the request was made.

#unsubscribe_urlString

Returns - URL to the consents management app.

Returns:

  • (String)
    • URL to the consents management app.

#walletCreditsWalletDrop

Returns - The request wallet as a drop object.

Returns: