dodo_payments 0.1.1

This is Unoffical SDK of dodopayments.com
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};
use serde_valid::Validate;

#[serde_with::skip_serializing_none]
#[derive(Debug, Serialize, Deserialize, Validate)]
pub struct CreateCustomerConfig {
    pub email: String,
    pub name: String,
    pub phone_number: Option<String>,
}