pub struct PaymentagentCreateRequest {Show 14 fields
pub affiliate_id: Option<String>,
pub code_of_conduct_approval: i64,
pub commission_deposit: f64,
pub commission_withdrawal: f64,
pub email: String,
pub information: String,
pub loginid: Option<String>,
pub passthrough: Option<Value>,
pub payment_agent_name: String,
pub paymentagent_create: i64,
pub phone_numbers: Option<Vec<PhoneNumberItem>>,
pub req_id: Option<i64>,
pub supported_payment_methods: Vec<SupportedPaymentMethodItem>,
pub urls: Vec<UrlItem>,
}
Expand description
Saves client’s payment agent details.
Fields§
§affiliate_id: Option<String>
[Optional] Client’s My Affiliate id, if exists.\n
code_of_conduct_approval: i64
Indicates client’s agreement with the Code of Conduct.\n
commission_deposit: f64
Commission (%) the agent wants to take on deposits\n
commission_withdrawal: f64
Commission (%) the agent wants to take on withdrawals\n
email: String
Payment agent’s email address.\n
information: String
[Optional] Information about payment agent and their proposed service.\n
loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
payment_agent_name: String
The name with which the payment agent is going to be identified.\n
paymentagent_create: i64
Must be 1\n
phone_numbers: Option<Vec<PhoneNumberItem>>
Payment agent’s phone number(s) with country code.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
supported_payment_methods: Vec<SupportedPaymentMethodItem>
A list of supported payment methods.\n
urls: Vec<UrlItem>
The URL(s) of payment agent’s website(s).\n
Trait Implementations§
Source§impl Clone for PaymentagentCreateRequest
impl Clone for PaymentagentCreateRequest
Source§fn clone(&self) -> PaymentagentCreateRequest
fn clone(&self) -> PaymentagentCreateRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more