Class AlternativeScheme
java.lang.Object
net.codecrete.qrbill.generator.AlternativeScheme
- All Implemented Interfaces:
Serializable
Alternative payment scheme instructions
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instanceAlternativeScheme(String name, String instruction) Creates an instance and sets name and instruction. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the payment instruction for a given bill.getName()Get the payment scheme nameinthashCode()voidsetInstruction(String instruction) Gets the payment instruction for a given billvoidSets the payment scheme nametoString()
-
Constructor Details
-
AlternativeScheme
public AlternativeScheme()Creates a new instance -
AlternativeScheme
-
-
Method Details
-
getName
-
setName
-
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).
- Returns:
- instruction
-
setInstruction
Gets the payment instruction for a given billThe 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:
instruction- instruction
-
equals
-
hashCode
-
toString
-