import type * as Square from "../index"; /** * Additional details about a Buy Now Pay Later payment type. */ export interface BuyNowPayLaterDetails { /** * The brand used for the Buy Now Pay Later payment. * The brand can be `AFTERPAY`, `CLEARPAY` or `UNKNOWN`. */ brand?: string | null; /** * Details about an Afterpay payment. These details are only populated if the `brand` is * `AFTERPAY`. */ afterpayDetails?: Square.AfterpayDetails; /** * Details about a Clearpay payment. These details are only populated if the `brand` is * `CLEARPAY`. */ clearpayDetails?: Square.ClearpayDetails; /** Information about errors encountered during the payment. */ errors?: Square.Error_[]; }