Share via


ElectronicValueRW.ApprovalCode Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets or sets the payment approval code.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Property ApprovalCode As String
public abstract string ApprovalCode { get; set; }
public:
virtual property String^ ApprovalCode {
    String^ get () abstract;
    void set (String^ value) abstract;
}
/** @property */
public abstract String get_ApprovalCode ()

/** @property */
public abstract void set_ApprovalCode (String value)
public abstract function get ApprovalCode () : String

public abstract function set ApprovalCode (value : String)

Remarks

The content of the approval code depends on the implementation of the device. When a unique number is issued to the processing done with the device, the information is set.

This property is set to specify the cancellation of the payment when the device supports cancellation of the payment and the CancelValue method is executed.

This property is initialized to an empty string ("") by the Open method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

ElectronicValueRW Class
ElectronicValueRW Members
Microsoft.PointOfService Namespace