Skip to main content

OrganizationBillingVNextApi

Trait OrganizationBillingVNextApi 

Source
pub trait OrganizationBillingVNextApi: Send + Sync {
    // Required methods
    fn add_credit_via_bit_pay<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: &'a str,
        bit_pay_credit_request: Option<BitPayCreditRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_billing_address<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: &'a str,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_credit<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: &'a str,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_metadata<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: &'a str,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_payment_method<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: &'a str,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_warnings<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: &'a str,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn restart_subscription<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: &'a str,
        restart_subscription_request: Option<RestartSubscriptionRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn update_billing_address<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: &'a str,
        billing_address_request: Option<BillingAddressRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn update_payment_method<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: &'a str,
        tokenized_payment_method_request: Option<TokenizedPaymentMethodRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn add_credit_via_bit_pay<'a, 'life0, 'async_trait>( &'life0 self, organization_id: &'a str, bit_pay_credit_request: Option<BitPayCreditRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{organizationId}/billing/vnext/credit/bitpay

Source

fn get_billing_address<'a, 'life0, 'async_trait>( &'life0 self, organization_id: &'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/vnext/address

Source

fn get_credit<'a, 'life0, 'async_trait>( &'life0 self, organization_id: &'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/vnext/credit

Source

fn get_metadata<'a, 'life0, 'async_trait>( &'life0 self, organization_id: &'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/vnext/metadata

Source

fn get_payment_method<'a, 'life0, 'async_trait>( &'life0 self, organization_id: &'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/vnext/payment-method

Source

fn get_warnings<'a, 'life0, 'async_trait>( &'life0 self, organization_id: &'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/vnext/warnings

Source

fn restart_subscription<'a, 'life0, 'async_trait>( &'life0 self, organization_id: &'a str, restart_subscription_request: Option<RestartSubscriptionRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{organizationId}/billing/vnext/subscription/restart

Source

fn update_billing_address<'a, 'life0, 'async_trait>( &'life0 self, organization_id: &'a str, billing_address_request: Option<BillingAddressRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{organizationId}/billing/vnext/address

Source

fn update_payment_method<'a, 'life0, 'async_trait>( &'life0 self, organization_id: &'a str, tokenized_payment_method_request: Option<TokenizedPaymentMethodRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{organizationId}/billing/vnext/payment-method

Implementors§