dodo_payments 0.1.1

This is Unoffical SDK of dodopayments.com
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::{Deserialize, Serialize};

#[serde_with::skip_serializing_none]
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct PatchBrandRequest {
    pub image_id: Option<String>,
    pub name: Option<String>,
    pub statement_descriptor: Option<String>,
    pub support_email: Option<String>,
}

#[serde_with::skip_serializing_none]
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct UpdateBrandConfig {
    pub id: String,
    #[serde(flatten)]
    pub body: PatchBrandRequest,
}