FixedSubscriptionCreateRequest.ts•1.38 kB
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Essentials subscription create request
*/
export type FixedSubscriptionCreateRequest = {
/**
* Essentials subscription name
*/
name: string;
/**
* A predefined Essentials plan Id (see lookup API '/fixed/plans'). The plan defines the billing, deployment and configuration for the created subscription based on specific plan details
*/
planId: number;
/**
* Optional. The payment method for the requested subscription. If ‘credit-card’ is specified, ‘paymentMethodId’ must be defined. Default: 'credit-card'
*/
paymentMethod?: FixedSubscriptionCreateRequest.paymentMethod;
/**
* Optional. A valid payment method (credit card, wire transfer etc) pre-defined in the current account. It will be billed for any charges related to the created subscription.
*/
paymentMethodId?: number;
readonly commandType?: string;
};
export namespace FixedSubscriptionCreateRequest {
/**
* Optional. The payment method for the requested subscription. If ‘credit-card’ is specified, ‘paymentMethodId’ must be defined. Default: 'credit-card'
*/
export enum paymentMethod {
CREDIT_CARD = 'credit-card',
MARKETPLACE = 'marketplace',
}
}