public final class AlternativeScheme
extends java.lang.Object
Alternative payment scheme instructions
Constructor and Description |
---|
AlternativeScheme() |
AlternativeScheme(java.lang.String instruction) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AlternativeScheme other)
Determines whether the specified alernative scheme is equal to the current alternative scheme.
|
boolean |
equals(java.lang.Object obj)
Determines whether the specified object is equal to the current object.
|
java.lang.String |
getInstruction()
Gets the payment instruction for a given bill.
|
int |
hashCode()
Gets the hash code for this instance.
|
void |
setInstruction(java.lang.String value)
Gets the payment instruction for a given bill.
|
public AlternativeScheme()
public AlternativeScheme(java.lang.String instruction)
public java.lang.String getInstruction()
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).
Value: The payment instruction.public void setInstruction(java.lang.String 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).
Value: The payment instruction.public boolean equals(java.lang.Object obj)
Determines whether the specified object is equal to the current object.
equals
in class java.lang.Object
obj
- The object to compare with the current object.true
if the specified object is equal to the current object; otherwise, false
.public boolean equals(AlternativeScheme other)
Determines whether the specified alernative scheme is equal to the current alternative scheme.
other
- The alternative scheme to compare with the current alternative scheme.true
if the specified object is equal to the current object; otherwise, false
.public int hashCode()
Gets the hash code for this instance.
hashCode
in class java.lang.Object