Struct square_api_client::models::InvoicePaymentReminder
source · [−]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
sourceimpl Clone for InvoicePaymentReminder
impl Clone for InvoicePaymentReminder
sourcefn clone(&self) -> InvoicePaymentReminder
fn clone(&self) -> InvoicePaymentReminder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InvoicePaymentReminder
impl Debug for InvoicePaymentReminder
sourceimpl Default for InvoicePaymentReminder
impl Default for InvoicePaymentReminder
sourcefn default() -> InvoicePaymentReminder
fn default() -> InvoicePaymentReminder
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InvoicePaymentReminder
impl<'de> Deserialize<'de> for InvoicePaymentReminder
sourcefn 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
sourceimpl PartialEq<InvoicePaymentReminder> for InvoicePaymentReminder
impl PartialEq<InvoicePaymentReminder> for InvoicePaymentReminder
sourcefn eq(&self, other: &InvoicePaymentReminder) -> bool
fn eq(&self, other: &InvoicePaymentReminder) -> bool
sourceimpl Serialize for InvoicePaymentReminder
impl Serialize for InvoicePaymentReminder
impl Eq for InvoicePaymentReminder
impl StructuralEq for InvoicePaymentReminder
impl StructuralPartialEq for InvoicePaymentReminder
Auto Trait Implementations
impl RefUnwindSafe for InvoicePaymentReminder
impl Send for InvoicePaymentReminder
impl Sync for InvoicePaymentReminder
impl Unpin for InvoicePaymentReminder
impl UnwindSafe for InvoicePaymentReminder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.