共用方式為


Cat.AuthorizeSales(Int32, Decimal, Decimal, Int32) Method

Definition

Approves a purchase.

public abstract void AuthorizeSales (int sequenceNumber, decimal amount, decimal taxOthers, int timeout);
abstract member AuthorizeSales : int * decimal * decimal * int -> unit
Public MustOverride Sub AuthorizeSales (sequenceNumber As Integer, amount As Decimal, taxOthers As Decimal, timeout As Integer)

Parameters

sequenceNumber
Int32

Sequence number for approval.

amount
Decimal

Purchase amount for approval.

taxOthers
Decimal

Tax and other amounts for approval.

timeout
Int32

The maximum wait time (in milliseconds) until the response is received from the CAT device. WaitForever, 0, and positive values can be specified.

Applies to