checkout_controller 0.0.7

a set of interfaces to create robust backends for a pleasant checkout experience
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};
use schemars::JsonSchema;

#[derive(Serialize, Deserialize, JsonSchema)]
pub struct Address {
    pub line_1: String,
    pub line_2: Option<String>,
    pub city: String,
    pub postal_code: String,
    pub province: Option<String>,
    pub country: String,
}