Aspose.Barcode for Python via Java Generation and Recognition API docs
AlternativeScheme Class Reference

Alternative payment scheme instructions. More...

Inherits _MwWrapper.

Public Member Functions

None __init__ (self, str instruction)
 
bool __eq__ (self, AlternativeScheme other)
 Determines whether the specified object is equal to the current object. More...
 
int __hash__ (self)
 Returns the hash code for the current instance. More...
 
Optional[str] instruction (self)
 Gets the payment instruction for a given bill. More...
 
None instruction (self, str value)
 Gets the payment instruction for a given bill. More...
 

Detailed Description

Alternative payment scheme instructions.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
str  instruction 
)

Member Function Documentation

◆ __eq__()

bool __eq__ (   self,
AlternativeScheme  other 
)

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

Returns
True if the specified object is equal to the current object; otherwise, false.
Parameters
objThe object to compare with the current object.

◆ __hash__()

int __hash__ (   self)

Returns the hash code for the current instance.

Returns
a hash code for the current object.

◆ instruction() [1/2]

Optional[str] instruction (   self)

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.

◆ instruction() [2/2]

None instruction (   self,
str  value 
)

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).

Parameters
:Thepayment instruction.