Class: Ledger::Sdk::Models::Fee::Instance

Inherits:
Base::Instance show all
Defined in:
lib/ledger/sdk/models/fee.rb

Overview

Represents an individual fee instance.

Instance Method Summary collapse

Methods inherited from Base::Instance

association, #data, #initialize

Constructor Details

This class inherits a constructor from Ledger::Sdk::Models::Base::Instance

Instance Method Details

#destroyBoolean

Destroys this fee.

The instance must not be reused after this call: its cached data is cleared, and re-fetching it would hit a deleted resource.

Returns:

  • (Boolean)

    true

#update(attributes) ⇒ Hash

Updates this fee's attributes.

Parameters:

  • attributes (Hash)

    attributes to update

Returns:

  • (Hash)

    the refreshed fee data