abacusai.user_info_with_billing

Classes

UserInfoWithBilling

The billing-funnel page-load bundle: the payloads of _getUserInfo, _getBillingInfo,

Module Contents

class abacusai.user_info_with_billing.UserInfoWithBilling(client, tiersInfo=None, publicKey=None, userInfo={}, billingInfo={}, activePromotion={})

Bases: abacusai.return_class.AbstractApiClass

The billing-funnel page-load bundle: the payloads of _getUserInfo, _getBillingInfo,

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • tiersInfo (list) – The _getTiersInfo payload.

  • publicKey (str) – The _getPublicKey payload (Stripe publishable key).

  • userInfo (InternalUserInfo) – The _getUserInfo payload.

  • billingInfo (BillingInfo) – The _getBillingInfo payload.

  • activePromotion (ActivePromo) – The getActivePromotion payload.

tiers_info = None
public_key = None
user_info
billing_info
active_promotion
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict