Implementation
@$core.Deprecated('Use stripeResponseSubscriptionPlanDescriptor instead')
const StripeResponseSubscriptionPlan$json = {
'1': 'StripeResponseSubscriptionPlan',
'2': [
{'1': 'plan_item_id', '3': 1, '4': 1, '5': 9, '10': 'planItemId'},
{'1': 'stripe_price_id', '3': 17, '4': 1, '5': 9, '10': 'stripePriceId'},
{
'1': 'plan_unit_amount_dollars',
'3': 2,
'4': 1,
'5': 5,
'10': 'planUnitAmountDollars'
},
{
'1': 'billing_interval',
'3': 3,
'4': 1,
'5': 14,
'6': '.common.StripeBillingInterval',
'10': 'billingInterval'
},
{'1': 'quantity', '3': 4, '4': 1, '5': 5, '10': 'quantity'},
{
'1': 'plan_type',
'3': 5,
'4': 1,
'5': 14,
'6': '.common.StripeResponseSubscriptionPlan.StripePlanType',
'10': 'planType'
},
{
'1': 'plan_end_date',
'3': 6,
'4': 1,
'5': 11,
'6': '.google.protobuf.Timestamp',
'10': 'planEndDate'
},
{'1': 'discount_rate', '3': 7, '4': 1, '5': 1, '10': 'discountRate'},
{
'1': 'free_trial_end_date',
'3': 8,
'4': 1,
'5': 11,
'6': '.google.protobuf.Timestamp',
'10': 'freeTrialEndDate'
},
{
'1': 'current_period_start',
'3': 18,
'4': 1,
'5': 11,
'6': '.google.protobuf.Timestamp',
'10': 'currentPeriodStart'
},
{
'1': 'current_period_end',
'3': 9,
'4': 1,
'5': 11,
'6': '.google.protobuf.Timestamp',
'10': 'currentPeriodEnd'
},
{'1': 'currency', '3': 10, '4': 1, '5': 9, '10': 'currency'},
{'1': 'plan_is_active', '3': 11, '4': 1, '5': 8, '10': 'planIsActive'},
{
'1': 'user_has_plan',
'3': 12,
'4': 1,
'5': 8,
'8': {'3': true},
'10': 'userHasPlan',
},
{
'1': 'stripe_status',
'3': 13,
'4': 1,
'5': 14,
'6': '.common.StripeSubscriptionStatusEnum',
'10': 'stripeStatus'
},
{
'1': 'add_ons',
'3': 14,
'4': 3,
'5': 11,
'6': '.common.StripeResponseAddOnInfoMap',
'10': 'addOns'
},
{'1': 'subscription_id', '3': 15, '4': 1, '5': 9, '10': 'subscriptionId'},
{'1': 'team_id', '3': 16, '4': 1, '5': 9, '10': 'teamId'},
],
'4': [StripeResponseSubscriptionPlan_StripePlanType$json],
};