agentic-commerce-protocol 0.2.0

Type definitions for the Agentic Commerce Protocol specification
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// this file is @generated
use serde::{Deserialize, Serialize};

use super::{address::Address, payment_provider_type::PaymentProviderType};

#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
pub struct PaymentData {
    pub token: String,
    pub provider: PaymentProviderType,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub billing_address: Option<Address>,
}