Struct sp_plugin_rust_test::Shurjopay::SpCheckout
source · pub struct SpCheckout {Show 14 fields
pub prefix: String,
pub token: String,
pub return_url: String,
pub cancel_url: String,
pub store_id: String,
pub amount: String,
pub order_id: String,
pub currency: String,
pub customer_name: String,
pub customer_address: String,
pub customer_phone: String,
pub customer_city: String,
pub customer_post_code: String,
pub client_ip: String,
}Expand description
Shurjopay checkout data structure
This structure implements Serialize, Deserialize, Debug and Clone functions
Each element of the structure must hold a value before checking out
Fields§
§prefix: String§token: String§return_url: String§cancel_url: String§store_id: String§amount: String§order_id: String§currency: String§customer_name: String§customer_address: String§customer_phone: String§customer_city: String§customer_post_code: String§client_ip: StringTrait Implementations§
source§impl Clone for SpCheckout
impl Clone for SpCheckout
source§fn clone(&self) -> SpCheckout
fn clone(&self) -> SpCheckout
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SpCheckout
impl Debug for SpCheckout
source§impl Default for SpCheckout
impl Default for SpCheckout
source§impl<'de> Deserialize<'de> for SpCheckout
impl<'de> Deserialize<'de> for SpCheckout
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more