pub enum InvoiceDeliveryMethod {
Email,
ShareManually,
Sms,
}
Expand description
Indicates how Square delivers the [Invoice] to the customer.
Variants§
Directs Square to send invoices, reminders, and receipts to the customer using email.
Directs Square to take no action on the invoice. In this case, the seller or application
developer follows up with the customer for payment. For example, a seller might collect a
payment in the Seller Dashboard or Point of Sale (POS) application. The seller might also
share the URL of the Square-hosted invoice page (public_url
) with the customer to request
payment.
Sms
Directs Square to send invoices and receipts to the customer using SMS (text message).
You cannot set SMS
as a delivery method using the Invoices API, but you can change an
SMS
delivery method to EMAIL
or SHARE_MANUALLY
.
Trait Implementations§
Source§impl Clone for InvoiceDeliveryMethod
impl Clone for InvoiceDeliveryMethod
Source§fn clone(&self) -> InvoiceDeliveryMethod
fn clone(&self) -> InvoiceDeliveryMethod
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 InvoiceDeliveryMethod
impl Debug for InvoiceDeliveryMethod
Source§impl<'de> Deserialize<'de> for InvoiceDeliveryMethod
impl<'de> Deserialize<'de> for InvoiceDeliveryMethod
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 InvoiceDeliveryMethod
impl PartialEq for InvoiceDeliveryMethod
Source§impl Serialize for InvoiceDeliveryMethod
impl Serialize for InvoiceDeliveryMethod
impl Eq for InvoiceDeliveryMethod
impl StructuralPartialEq for InvoiceDeliveryMethod
Auto Trait Implementations§
impl Freeze for InvoiceDeliveryMethod
impl RefUnwindSafe for InvoiceDeliveryMethod
impl Send for InvoiceDeliveryMethod
impl Sync for InvoiceDeliveryMethod
impl Unpin for InvoiceDeliveryMethod
impl UnwindSafe for InvoiceDeliveryMethod
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.