btcpay_client/models/
payout_processor_data.rs

1/*
2 * BTCPay Greenfield API
3 *
4 * A full API to use your BTCPay Server
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct PayoutProcessorData {
16    /// unique identifier of the payout processor
17    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
18    pub name: Option<String>,
19    /// Human name of the payout processor
20    #[serde(rename = "friendlyName", skip_serializing_if = "Option::is_none")]
21    pub friendly_name: Option<String>,
22    /// Supported, payment methods by this processor
23    #[serde(rename = "paymentMethods", skip_serializing_if = "Option::is_none")]
24    pub payment_methods: Option<Vec<String>>,
25}
26
27impl PayoutProcessorData {
28    pub fn new() -> PayoutProcessorData {
29        PayoutProcessorData {
30            name: None,
31            friendly_name: None,
32            payment_methods: None,
33        }
34    }
35}
36
37