#[non_exhaustive]pub struct RecurringChargeBuilder { /* private fields */ }Expand description
A builder for RecurringCharge.
Implementations§
source§impl RecurringChargeBuilder
impl RecurringChargeBuilder
sourcepub fn recurring_charge_amount(self, input: f64) -> Self
pub fn recurring_charge_amount(self, input: f64) -> Self
The monetary amount of the recurring charge.
sourcepub fn set_recurring_charge_amount(self, input: Option<f64>) -> Self
pub fn set_recurring_charge_amount(self, input: Option<f64>) -> Self
The monetary amount of the recurring charge.
sourcepub fn recurring_charge_frequency(self, input: impl Into<String>) -> Self
pub fn recurring_charge_frequency(self, input: impl Into<String>) -> Self
The frequency of the recurring charge.
sourcepub fn set_recurring_charge_frequency(self, input: Option<String>) -> Self
pub fn set_recurring_charge_frequency(self, input: Option<String>) -> Self
The frequency of the recurring charge.
sourcepub fn build(self) -> RecurringCharge
pub fn build(self) -> RecurringCharge
Consumes the builder and constructs a RecurringCharge.
Trait Implementations§
source§impl Clone for RecurringChargeBuilder
impl Clone for RecurringChargeBuilder
source§fn clone(&self) -> RecurringChargeBuilder
fn clone(&self) -> RecurringChargeBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RecurringChargeBuilder
impl Debug for RecurringChargeBuilder
source§impl Default for RecurringChargeBuilder
impl Default for RecurringChargeBuilder
source§fn default() -> RecurringChargeBuilder
fn default() -> RecurringChargeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RecurringChargeBuilder> for RecurringChargeBuilder
impl PartialEq<RecurringChargeBuilder> for RecurringChargeBuilder
source§fn eq(&self, other: &RecurringChargeBuilder) -> bool
fn eq(&self, other: &RecurringChargeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.