pub struct GetPaymentMethodsParams {
pub id: Option<Vec<String>>,
pub type: Option<Vec<PaymentType>>,
pub status: Option<Vec<PaymentStatus>>,
pub reusability: Option<Reusability>,
pub customer_id: Option<String>,
pub reference_id: Option<String>,
pub limit: Option<u32>,
pub after_id: Option<String>,
pub before_id: Option<String>,
}Fields§
§id: Option<Vec<String>>§type: Option<Vec<PaymentType>>§status: Option<Vec<PaymentStatus>>§reusability: Option<Reusability>§customer_id: Option<String>§reference_id: Option<String>§limit: Option<u32>§after_id: Option<String>§before_id: Option<String>Implementations§
Source§impl GetPaymentMethodsParams
impl GetPaymentMethodsParams
pub fn new() -> Self
pub fn get_id(&self) -> Option<&Vec<String>>
pub fn set_id(&mut self, id: Vec<String>) -> &mut Self
pub fn get_type(&self) -> Option<&Vec<PaymentType>>
pub fn set_type(&mut self, type: Vec<PaymentType>) -> &mut Self
pub fn get_status(&self) -> Option<&Vec<PaymentStatus>>
pub fn set_status(&mut self, status: Vec<PaymentStatus>) -> &mut Self
pub fn get_reusability(&self) -> Option<&Reusability>
pub fn set_reusability(&mut self, reusability: Reusability) -> &mut Self
pub fn get_customer_id(&self) -> Option<&String>
pub fn set_customer_id(&mut self, customer_id: String) -> &mut Self
pub fn get_reference_id(&self) -> Option<&String>
pub fn set_reference_id(&mut self, reference_id: String) -> &mut Self
pub fn get_limit(&self) -> Option<&u32>
pub fn set_limit(&mut self, limit: u32) -> &mut Self
pub fn get_after_id(&self) -> Option<&String>
pub fn set_after_id(&mut self, after_id: String) -> &mut Self
pub fn get_before_id(&self) -> Option<&String>
pub fn set_before_id(&mut self, before_id: String) -> &mut Self
pub fn build(&self) -> Self
Trait Implementations§
Source§impl Clone for GetPaymentMethodsParams
impl Clone for GetPaymentMethodsParams
Source§fn clone(&self) -> GetPaymentMethodsParams
fn clone(&self) -> GetPaymentMethodsParams
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for GetPaymentMethodsParams
impl RefUnwindSafe for GetPaymentMethodsParams
impl Send for GetPaymentMethodsParams
impl Sync for GetPaymentMethodsParams
impl Unpin for GetPaymentMethodsParams
impl UnwindSafe for GetPaymentMethodsParams
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