Class AlternativeScheme
Alternative payment scheme instructions
Inheritance
Implements
Inherited Members
Namespace: Codecrete.SwissQRBill.Generator
Assembly: Codecrete.SwissQRBill.Core.dll
Syntax
public sealed class AlternativeScheme : IEquatable<AlternativeScheme>
Properties
| Improve this Doc View SourceInstruction
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).
Declaration
public string Instruction { get; set; }
Property Value
Type | Description |
---|---|
System.String | The payment instruction. |
Name
Gets or sets the payment scheme name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The payment scheme name. |
Methods
| Improve this Doc View SourceEquals(AlternativeScheme)
Determines whether the specified alternative scheme is equal to the current alternative scheme.
Declaration
public bool Equals(AlternativeScheme other)
Parameters
Type | Name | Description |
---|---|---|
AlternativeScheme | other | The alternative scheme to compare with the current alternative scheme. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
GetHashCode()
Gets the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current object. |