pub struct BusinessUpdate<'a> { /* private fields */ }
Expand description
Request builder for updating a business in Paddle API.
Implementations§
Source§impl<'a> BusinessUpdate<'a>
impl<'a> BusinessUpdate<'a>
pub fn new( client: &'a Paddle, customer_id: impl Into<CustomerID>, business_id: impl Into<BusinessID>, ) -> Self
Sourcepub fn company_number(&mut self, company_number: impl Into<String>) -> &mut Self
pub fn company_number(&mut self, company_number: impl Into<String>) -> &mut Self
Company number for this business.
Sourcepub fn tax_identifier(&mut self, tax_identifier: impl Into<String>) -> &mut Self
pub fn tax_identifier(&mut self, tax_identifier: impl Into<String>) -> &mut Self
Tax identifier for this business.
Sourcepub fn contacts(
&mut self,
contacts: impl IntoIterator<Item = Contact>,
) -> &mut Self
pub fn contacts( &mut self, contacts: impl IntoIterator<Item = Contact>, ) -> &mut Self
Contact information for this business.
Sourcepub fn custom_data(&mut self, custom_data: HashMap<String, String>) -> &mut Self
pub fn custom_data(&mut self, custom_data: HashMap<String, String>) -> &mut Self
Custom data for this business.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BusinessUpdate<'a>
impl<'a> RefUnwindSafe for BusinessUpdate<'a>
impl<'a> Send for BusinessUpdate<'a>
impl<'a> Sync for BusinessUpdate<'a>
impl<'a> Unpin for BusinessUpdate<'a>
impl<'a> UnwindSafe for BusinessUpdate<'a>
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