pub trait CreateInvoiceLinkSetters: HasPayload<Payload = CreateInvoiceLink> + Sized {
Show 20 methods
// Provided methods
fn title<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn description<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn payload<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn provider_token<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn currency<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn prices<T>(self, value: T) -> Self
where T: IntoIterator<Item = LabeledPrice> { ... }
fn max_tip_amount(self, value: u32) -> Self { ... }
fn suggested_tip_amounts<T>(self, value: T) -> Self
where T: IntoIterator<Item = u32> { ... }
fn provider_data<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn photo_url<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn photo_size<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn photo_width<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn photo_height<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn need_name(self, value: bool) -> Self { ... }
fn need_phone_number(self, value: bool) -> Self { ... }
fn need_email(self, value: bool) -> Self { ... }
fn need_shipping_address(self, value: bool) -> Self { ... }
fn send_phone_number_to_provider(self, value: bool) -> Self { ... }
fn send_email_to_provider(self, value: bool) -> Self { ... }
fn is_flexible(self, value: bool) -> Self { ... }
}
Expand description
Setters for fields of CreateInvoiceLink
Provided Methods§
sourcefn description<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn description<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for description
field.
sourcefn provider_token<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn provider_token<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for provider_token
field.
sourcefn prices<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = LabeledPrice>,
fn prices<T>(self, value: T) -> Selfwhere T: IntoIterator<Item = LabeledPrice>,
Setter for prices
field.
sourcefn max_tip_amount(self, value: u32) -> Self
fn max_tip_amount(self, value: u32) -> Self
Setter for max_tip_amount
field.
sourcefn suggested_tip_amounts<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = u32>,
fn suggested_tip_amounts<T>(self, value: T) -> Selfwhere T: IntoIterator<Item = u32>,
Setter for suggested_tip_amounts
field.
sourcefn provider_data<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn provider_data<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for provider_data
field.
sourcefn photo_size<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn photo_size<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for photo_size
field.
sourcefn photo_width<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn photo_width<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for photo_width
field.
sourcefn photo_height<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn photo_height<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for photo_height
field.
sourcefn need_phone_number(self, value: bool) -> Self
fn need_phone_number(self, value: bool) -> Self
Setter for need_phone_number
field.
sourcefn need_email(self, value: bool) -> Self
fn need_email(self, value: bool) -> Self
Setter for need_email
field.
sourcefn need_shipping_address(self, value: bool) -> Self
fn need_shipping_address(self, value: bool) -> Self
Setter for need_shipping_address
field.
sourcefn send_phone_number_to_provider(self, value: bool) -> Self
fn send_phone_number_to_provider(self, value: bool) -> Self
Setter for send_phone_number_to_provider
field.
sourcefn send_email_to_provider(self, value: bool) -> Self
fn send_email_to_provider(self, value: bool) -> Self
Setter for send_email_to_provider
field.
sourcefn is_flexible(self, value: bool) -> Self
fn is_flexible(self, value: bool) -> Self
Setter for is_flexible
field.