Property MinimumRetries
MinimumRetries
The minumum number of automatic retries to perform when a create transaction (order/refund/order reversal/refund reversal etc) times out.
Declaration
public int MinimumRetries { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
This property defaults to a value of 2. A value of zero or less is allowed, in which case only the initial attempt will be made - no retries will be performed within the library and any error handling logic will need to be entirely implemented by the application.
The library may attempt more retries than specified if the total time since the initial call is less than the (full, AfterPay) recommended timeout for the endpoint being called.
Exceptions
Type | Condition |
---|---|
System.InvalidProgramException | Thrown if this property is modified after it has been passed to a AfterPayClient instance. |