AlternativeScheme
AlternativeScheme class
Module: aspose_barcode.complex_barcode.alternative_scheme
Alternative payment scheme instructions.
Constructors
| Name | Description |
|---|---|
| init |
Methods
| Name | Return Type | Static | Description |
|---|---|---|---|
| eq | bool | No | Determines whether the specified object is equal to the current object. |
| hash | int | No | Returns the hash code for the current instance. |
Properties
| Name | Type | Description |
|---|---|---|
| instruction | 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). |
AlternativeScheme Constructor
__init__(self, str instruction)
| Parameter | Type | Description |
|---|---|---|
instruction | str |
AlternativeScheme.eq
__eq__(self, AlternativeScheme other) -> bool
Determines whether the specified object is equal to the current object.
| Parameter | Type | Description |
|---|---|---|
other | AlternativeScheme |
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).
| Parameter | Type | Description |
|---|---|---|
value | str |