inttegro 0.5.0

Official server-side Rust SDK for Inttegro
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Generated, typed Inttegro domain or request value. Do not edit manually.

use crate::Amount;
use serde::{Deserialize, Serialize};

/// Typed Inttegro domain value.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct OrderShippingLineItemShipping {
    pub id: String,
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub tax_code: Option<String>,
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub label: Option<String>,
    pub fee: Amount,
}