retrieveCurrent()
retrieveCurrent(): Promise<
| {
billingInterval: string;
billingPeriod: | {
daysRemaining: number | null;
periodEnd: Date | null;
periodInterval: string;
periodStart: Date | null;
}
| null;
productId: string;
sku: string | null;
type: string;
}
| null>;The product the customer has now, with its billing period, or null when it has none.
Last updated on