agentic_commerce_protocol/models/payment_data.rs
1// this file is @generated
2use serde::{Deserialize, Serialize};
3
4use super::{address::Address, payment_provider_type::PaymentProviderType};
5
6#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
7pub struct PaymentData {
8 pub token: String,
9 pub provider: PaymentProviderType,
10 #[serde(skip_serializing_if = "Option::is_none")]
11 pub billing_address: Option<Address>,
12}