UNPKG

@maxio-com/advanced-billing-sdk

Version:

Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.

23 lines (19 loc) 869 B
/** * AdvancedBilling * * This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { expandoObject, number, optional, Schema } from '../schema'; import { GroupTargetType, groupTargetTypeSchema } from './groupTargetType'; /** Attributes of the target customer who will be the responsible payer of the created subscription. Required. */ export interface GroupTarget { /** The type of object indicated by the id attribute. */ type: GroupTargetType; /** The id of the target customer or subscription to group the existing subscription with. Ignored and should not be included if type is "self" , "parent", or "eldest" */ id?: number; [key: string]: unknown; } export const groupTargetSchema: Schema<GroupTarget> = expandoObject({ type: ['type', groupTargetTypeSchema], id: ['id', optional(number())], });