pub struct OrganizationBillingApiClient {
configuration: Arc<Configuration>,
}Fields§
§configuration: Arc<Configuration>Implementations§
Source§impl OrganizationBillingApiClient
impl OrganizationBillingApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl OrganizationBillingApi for OrganizationBillingApiClient
impl OrganizationBillingApi for OrganizationBillingApiClient
Source§fn change_plan_subscription_frequency<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
change_plan_frequency_request: Option<ChangePlanFrequencyRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn change_plan_subscription_frequency<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
change_plan_frequency_request: Option<ChangePlanFrequencyRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{organizationId}/billing/change-frequency
Source§fn get_billing<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_billing<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{organizationId}/billing
Source§fn get_history<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_history<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{organizationId}/billing/history
Source§fn get_invoices<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
status: Option<&'a str>,
start_after: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_invoices<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
status: Option<&'a str>,
start_after: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{organizationId}/billing/invoices
Source§fn get_transactions<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
start_after: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_transactions<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
start_after: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{organizationId}/billing/transactions
Source§fn setup_business_unit<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
setup_business_unit_request_body: Option<SetupBusinessUnitRequestBody>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn setup_business_unit<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
setup_business_unit_request_body: Option<SetupBusinessUnitRequestBody>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{organizationId}/billing/setup-business-unit
Auto Trait Implementations§
impl Freeze for OrganizationBillingApiClient
impl !RefUnwindSafe for OrganizationBillingApiClient
impl Send for OrganizationBillingApiClient
impl Sync for OrganizationBillingApiClient
impl Unpin for OrganizationBillingApiClient
impl UnsafeUnpin for OrganizationBillingApiClient
impl !UnwindSafe for OrganizationBillingApiClient
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more