pub struct InvoiceRenderingTemplate {
pub created: Timestamp,
pub id: InvoiceRenderingTemplateId,
pub livemode: bool,
pub metadata: Option<HashMap<String, String>>,
pub nickname: Option<String>,
pub status: InvoiceRenderingTemplateStatus,
pub version: i64,
}
Expand description
Invoice Rendering Templates are used to configure how invoices are rendered on surfaces like the PDF. Invoice Rendering Templates. can be created from within the Dashboard, and they can be used over the API when creating invoices.
Fields§
§created: Timestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
id: InvoiceRenderingTemplateId
Unique identifier for the object.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
metadata: Option<HashMap<String, String>>
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
nickname: Option<String>
A brief description of the template, hidden from customers
status: InvoiceRenderingTemplateStatus
The status of the template, one of active
or archived
.
version: i64
Version of this template; version increases by one when an update on the template changes any field that controls invoice rendering.
Trait Implementations§
Source§impl Clone for InvoiceRenderingTemplate
impl Clone for InvoiceRenderingTemplate
Source§fn clone(&self) -> InvoiceRenderingTemplate
fn clone(&self) -> InvoiceRenderingTemplate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more