Class PricingMode

Represents the pricing mode, which can be one of the following: PaymentLimited, Fixed, or Prepaid.

Hierarchy

  • PricingMode

Constructors

Properties

Methods

Constructors

Properties

fixed?: FixedMode

The fixed pricing mode, if applicable.

paymentLimited?: PaymentLimitedMode

The PaymentLimited pricing mode, if applicable.

prepaid?: PrepaidMode

The Prepaid pricing mode, if applicable.

Methods

  • Converts the pricing mode instance into a byte array representation. This method serializes the current pricing mode into bytes that can be used for transactions.

    Returns

    A Uint8Array representing the serialized pricing mode.

    Returns Uint8Array

Generated using TypeDoc