Skip to main content

AccountBillingVNextApi

Trait AccountBillingVNextApi 

Source
pub trait AccountBillingVNextApi: Send + Sync {
Show 13 methods // Required methods fn add_credit_via_bit_pay<'a, 'life0, 'async_trait>( &'life0 self, 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 create_portal_session<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_premium_checkout_session<'a, 'life0, 'async_trait>( &'life0 self, create_premium_checkout_session_request: Option<CreatePremiumCheckoutSessionRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn create_subscription<'a, 'life0, 'async_trait>( &'life0 self, premium_cloud_hosted_subscription_request: Option<PremiumCloudHostedSubscriptionRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_applicable_discounts<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_credit<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_license<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_payment_method<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_subscription<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn reinstate_subscription<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_payment_method<'a, 'life0, 'async_trait>( &'life0 self, 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; fn update_subscription_storage<'a, 'life0, 'async_trait>( &'life0 self, storage_update_request: Option<StorageUpdateRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn upgrade_premium_to_organization<'a, 'life0, 'async_trait>( &'life0 self, upgrade_premium_to_organization_request: Option<UpgradePremiumToOrganizationRequest>, ) -> 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, 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 /account/billing/vnext/credit/bitpay

Source

fn create_portal_session<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

POST /account/billing/vnext/portal-session

Source

fn create_premium_checkout_session<'a, 'life0, 'async_trait>( &'life0 self, create_premium_checkout_session_request: Option<CreatePremiumCheckoutSessionRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /account/billing/vnext/premium/checkout

Source

fn create_subscription<'a, 'life0, 'async_trait>( &'life0 self, premium_cloud_hosted_subscription_request: Option<PremiumCloudHostedSubscriptionRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /account/billing/vnext/subscription

Source

fn get_applicable_discounts<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /account/billing/vnext/discounts

Source

fn get_credit<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /account/billing/vnext/credit

Source

fn get_license<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /account/billing/vnext/license

Source

fn get_payment_method<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /account/billing/vnext/payment-method

Source

fn get_subscription<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /account/billing/vnext/subscription

Source

fn reinstate_subscription<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

POST /account/billing/vnext/subscription/reinstate

Source

fn update_payment_method<'a, 'life0, 'async_trait>( &'life0 self, 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 /account/billing/vnext/payment-method

Source

fn update_subscription_storage<'a, 'life0, 'async_trait>( &'life0 self, storage_update_request: Option<StorageUpdateRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /account/billing/vnext/subscription/storage

Source

fn upgrade_premium_to_organization<'a, 'life0, 'async_trait>( &'life0 self, upgrade_premium_to_organization_request: Option<UpgradePremiumToOrganizationRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /account/billing/vnext/upgrade

Implementors§