pub struct SpVerifyResponse {
Show 30 fields pub sp_code: Option<i64>, pub id: Option<i64>, pub order_id: Option<String>, pub currency: Option<String>, pub amount: Option<f64>, pub payable_amount: Option<f64>, pub discsount_amount: Option<f64>, pub disc_percent: Option<f64>, pub received_amount: Option<String>, pub usd_amt: Option<f64>, pub usd_rate: Option<f64>, pub card_holder_name: Option<String>, pub card_number: Option<String>, pub phone_no: Option<String>, pub bank_trx_id: Option<String>, pub invoice_no: Option<String>, pub bank_status: Option<String>, pub customer_order_id: Option<String>, pub sp_message: Option<String>, pub name: Option<String>, pub email: Option<String>, pub address: Option<String>, pub city: Option<String>, pub value1: Option<String>, pub value2: Option<String>, pub value3: Option<String>, pub value4: Option<String>, pub transaction_status: Option<String>, pub method: Option<String>, pub date_time: Option<String>,
}
Expand description

Shurjopay payment verifiacation data structure This structure implements Serialize, Deserialize, Debug and Clone functions discsount_amount , card_holder_name, card_number, email, transaction_status, method, value1, value2, value3, value4can holdnull` value

Fields§

§sp_code: Option<i64>§id: Option<i64>§order_id: Option<String>§currency: Option<String>§amount: Option<f64>§payable_amount: Option<f64>§discsount_amount: Option<f64>§disc_percent: Option<f64>§received_amount: Option<String>§usd_amt: Option<f64>§usd_rate: Option<f64>§card_holder_name: Option<String>§card_number: Option<String>§phone_no: Option<String>§bank_trx_id: Option<String>§invoice_no: Option<String>§bank_status: Option<String>§customer_order_id: Option<String>§sp_message: Option<String>§name: Option<String>§email: Option<String>§address: Option<String>§city: Option<String>§value1: Option<String>§value2: Option<String>§value3: Option<String>§value4: Option<String>§transaction_status: Option<String>§method: Option<String>§date_time: Option<String>

Implementations§

implementation for SpVerifyRespose

This is a constructor to initiate null instance of SpVerifyResponse returns SpVerifyResponse

This function unwraps JSON String into SpVerifyResponse data structure’ if conversion is possible return true or return false

This function will convert SpVerifyResponse2 data structure to SoVerifyResponse

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more