pub struct InvoicePaymentReminder {
pub message: Option<String>,
pub relative_scheduled_days: Option<i32>,
pub sent_at: Option<DateTime>,
pub status: Option<InvoicePaymentReminderStatus>,
pub uid: Option<String>,
}
Expand description
Describes a payment request reminder (automatic notification) that Square sends to the customer.
You configure a reminder relative to the payment request due_date
.
Fields§
§message: Option<String>
The reminder message.
Min Length: 1, Max Length: 1000
relative_scheduled_days: Option<i32>
The number of days before (a negative number) or after (a positive number) the payment
request due_date
when the reminder is sent. For example, -3 indicates that the reminder
should be sent 3 days before the payment request due_date
.
Min: -32767, Max: 32767
sent_at: Option<DateTime>
Read only If sent, the timestamp when the reminder was sent, in RFC 3339 format.
status: Option<InvoicePaymentReminderStatus>
Read only The status of the reminder.
uid: Option<String>
Read only A Square-assigned ID that uniquely identifies the reminder within the
InvoicePaymentRequest
.
Trait Implementations§
Source§impl Clone for InvoicePaymentReminder
impl Clone for InvoicePaymentReminder
Source§fn clone(&self) -> InvoicePaymentReminder
fn clone(&self) -> InvoicePaymentReminder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InvoicePaymentReminder
impl Debug for InvoicePaymentReminder
Source§impl Default for InvoicePaymentReminder
impl Default for InvoicePaymentReminder
Source§fn default() -> InvoicePaymentReminder
fn default() -> InvoicePaymentReminder
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InvoicePaymentReminder
impl<'de> Deserialize<'de> for InvoicePaymentReminder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InvoicePaymentReminder
impl PartialEq for InvoicePaymentReminder
Source§impl Serialize for InvoicePaymentReminder
impl Serialize for InvoicePaymentReminder
impl Eq for InvoicePaymentReminder
impl StructuralPartialEq for InvoicePaymentReminder
Auto Trait Implementations§
impl Freeze for InvoicePaymentReminder
impl RefUnwindSafe for InvoicePaymentReminder
impl Send for InvoicePaymentReminder
impl Sync for InvoicePaymentReminder
impl Unpin for InvoicePaymentReminder
impl UnwindSafe for InvoicePaymentReminder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.