Constructor.
Namespace:
MaxMind.MinFraud.Request
Assembly:
MaxMind.MinFraud (in MaxMind.MinFraud.dll) Version: 2.0.0
Syntaxpublic Payment(
Nullable<PaymentProcessor> processor = null,
Nullable<bool> wasAuthorized = null,
string declineCode = null
)
Public Sub New (
Optional processor As Nullable(Of PaymentProcessor) = Nothing,
Optional wasAuthorized As Nullable(Of Boolean) = Nothing,
Optional declineCode As String = Nothing
)
public:
Payment(
Nullable<PaymentProcessor> processor = nullptr,
Nullable<bool> wasAuthorized = nullptr,
String^ declineCode = nullptr
)
new :
?processor : Nullable<PaymentProcessor> *
?wasAuthorized : Nullable<bool> *
?declineCode : string
(* Defaults:
let _processor = defaultArg processor null
let _wasAuthorized = defaultArg wasAuthorized null
let _declineCode = defaultArg declineCode null
*)
-> Payment
Parameters
- processor (Optional)
- Type: SystemNullablePaymentProcessor
The payment processor used for the
transaction. - wasAuthorized (Optional)
- Type: SystemNullableBoolean
The authorization outcome from the
payment processor. If the transaction has not yet been approved
or denied, do not include this field. - declineCode (Optional)
- Type: SystemString
The decline code as provided by your
payment processor. If the transaction was not declined, do not
include this field.
See Also