pub struct ProviderBillingVNextApiClient {
configuration: Arc<Configuration>,
}
Fields§
§configuration: Arc<Configuration>
Implementations§
Source§impl ProviderBillingVNextApiClient
impl ProviderBillingVNextApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl ProviderBillingVNextApi for ProviderBillingVNextApiClient
impl ProviderBillingVNextApi for ProviderBillingVNextApiClient
Source§fn add_credit_via_bit_pay<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
bit_pay_credit_request: Option<BitPayCreditRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<AddCreditViaBitPayError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn add_credit_via_bit_pay<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
bit_pay_credit_request: Option<BitPayCreditRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<AddCreditViaBitPayError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /providers/{providerId}/billing/vnext/credit/bitpay
Source§fn get_billing_address<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetBillingAddressError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_billing_address<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetBillingAddressError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /providers/{providerId}/billing/vnext/address
Source§fn get_credit<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetCreditError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_credit<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetCreditError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /providers/{providerId}/billing/vnext/credit
Source§fn get_payment_method<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetPaymentMethodError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_payment_method<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetPaymentMethodError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /providers/{providerId}/billing/vnext/payment-method
Source§fn get_warnings<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetWarningsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_warnings<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetWarningsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /providers/{providerId}/billing/vnext/warnings
Source§fn update_billing_address<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
billing_address_request: Option<BillingAddressRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateBillingAddressError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update_billing_address<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
billing_address_request: Option<BillingAddressRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateBillingAddressError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /providers/{providerId}/billing/vnext/address
Source§fn update_payment_method<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
tokenized_payment_method_request: Option<TokenizedPaymentMethodRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdatePaymentMethodError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update_payment_method<'a, 'life0, 'async_trait>(
&'life0 self,
provider_id: &'a str,
id: Option<Uuid>,
name: Option<&'a str>,
business_name: Option<&'a str>,
business_address1: Option<&'a str>,
business_address2: Option<&'a str>,
business_address3: Option<&'a str>,
business_country: Option<&'a str>,
business_tax_number: Option<&'a str>,
billing_email: Option<&'a str>,
billing_phone: Option<&'a str>,
status: Option<ProviderStatusType>,
use_events: Option<bool>,
type: Option<ProviderType>,
enabled: Option<bool>,
creation_date: Option<String>,
revision_date: Option<String>,
gateway: Option<GatewayType>,
gateway_customer_id: Option<&'a str>,
gateway_subscription_id: Option<&'a str>,
discount_id: Option<&'a str>,
tokenized_payment_method_request: Option<TokenizedPaymentMethodRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdatePaymentMethodError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /providers/{providerId}/billing/vnext/payment-method
Auto Trait Implementations§
impl Freeze for ProviderBillingVNextApiClient
impl !RefUnwindSafe for ProviderBillingVNextApiClient
impl Send for ProviderBillingVNextApiClient
impl Sync for ProviderBillingVNextApiClient
impl Unpin for ProviderBillingVNextApiClient
impl !UnwindSafe for ProviderBillingVNextApiClient
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