Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Paiwise.PaymentResult Class Reference

Result of request payment. More...

Public Member Functions

 PaymentResult (string Error)
 Failed payment More...
 
 PaymentResult (decimal Amount, string Currency)
 Successful payment More...
 

Properties

bool Ok [get]
 If payment was successful or not. More...
 
string Error [get]
 Error message, if payment was not successful. More...
 
decimal Amount [get]
 Amount paid. More...
 
string Currency [get]
 Currency of amount paid. More...
 

Detailed Description

Result of request payment.

Definition at line 6 of file PaymentResult.cs.

Constructor & Destructor Documentation

◆ PaymentResult() [1/2]

Paiwise.PaymentResult.PaymentResult ( string  Error)

Failed payment

Parameters
ErrorError message.

Definition at line 12 of file PaymentResult.cs.

◆ PaymentResult() [2/2]

Paiwise.PaymentResult.PaymentResult ( decimal  Amount,
string  Currency 
)

Successful payment

Parameters
AmountAmount paid.
CurrencyCurrency of amount paid.

Definition at line 25 of file PaymentResult.cs.

Property Documentation

◆ Amount

decimal Paiwise.PaymentResult.Amount
get

Amount paid.

Definition at line 46 of file PaymentResult.cs.

◆ Currency

string Paiwise.PaymentResult.Currency
get

Currency of amount paid.

Definition at line 51 of file PaymentResult.cs.

◆ Error

string Paiwise.PaymentResult.Error
get

Error message, if payment was not successful.

Definition at line 41 of file PaymentResult.cs.

◆ Ok

bool Paiwise.PaymentResult.Ok
get

If payment was successful or not.

Definition at line 36 of file PaymentResult.cs.


The documentation for this class was generated from the following file: