AlternativeScheme

AlternativeScheme class

Module: aspose_barcode.complex_barcode.alternative_scheme

Alternative payment scheme instructions.

Constructors

NameDescription
init

Methods

NameReturn TypeStaticDescription
eqboolNoDetermines whether the specified object is equal to the current object.
hashintNoReturns the hash code for the current instance.

Properties

NameTypeDescription
instructionOptional[str]Gets the payment instruction for a given bill. The instruction consists of a two letter abbreviation for the scheme, a separator characters and a sequence of parameters(separated by the character at index 2).

AlternativeScheme Constructor

__init__(self, str instruction)
ParameterTypeDescription
instructionstr

AlternativeScheme.eq

__eq__(self, AlternativeScheme other) -> bool

Determines whether the specified object is equal to the current object.

ParameterTypeDescription
otherAlternativeScheme

Return Type: bool — True if the specified object is equal to the current object; otherwise, false.

AlternativeScheme.hash

__hash__(self) -> int

Returns the hash code for the current instance.

Return Type: int — a hash code for the current object.

AlternativeScheme.instruction

Type: Optional[str]

Gets the payment instruction for a given bill. The instruction consists of a two letter abbreviation for the scheme, a separator characters and a sequence of parameters(separated by the character at index 2).

Returns: The payment instruction.

Gets the payment instruction for a given bill. The instruction consists of a two letter abbreviation for the scheme, a separator characters and a sequence of parameters(separated by the character at index 2).

ParameterTypeDescription
valuestr