square_api_client/models/
buy_now_pay_later_details.rs

1//! Model struct for BuyNowPayLaterDetails type.
2
3use serde::{Deserialize, Serialize};
4
5use super::AfterpayDetails;
6
7/// Additional details about a Buy Now Pay Later payment type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
9pub struct BuyNowPayLaterDetails {
10    /// The brand used for the Buy Now Pay Later payment. The brand can be `AFTERPAY` or `UNKNOWN`.
11    pub brand: Option<String>,
12    /// Details about an Afterpay payment. These details are only populated if the `brand` is
13    /// `AFTERPAY`.
14    pub afterpay_details: Option<AfterpayDetails>,
15}