@getopenpay/client
Version:
OpenPay API TypeScript SDK
40 lines (39 loc) • 1.65 kB
TypeScript
/**
* OpenPay API
* super charge your subscription management.
*
* The version of the OpenAPI document: 1.2.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { ProrationEnum } from './ProrationEnum';
/**
*
* @export
* @interface DeleteSubscriptionItemRequest
*/
export interface DeleteSubscriptionItemRequest {
/**
* Whether or not this item will be dropped from subscription before next renewal
* @type {boolean}
* @memberof DeleteSubscriptionItemRequest
*/
dropAtEnd?: boolean;
/**
* Determines how to handle prorations while deleting item.In case of subscription is in trialing state, invoice items if any will be for amount_atom 0.
* @type {ProrationEnum}
* @memberof DeleteSubscriptionItemRequest
*/
prorationBehavior?: ProrationEnum;
}
/**
* Check if a given object implements the DeleteSubscriptionItemRequest interface.
*/
export declare function instanceOfDeleteSubscriptionItemRequest(value: object): value is DeleteSubscriptionItemRequest;
export declare function DeleteSubscriptionItemRequestFromJSON(json: any): DeleteSubscriptionItemRequest;
export declare function DeleteSubscriptionItemRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteSubscriptionItemRequest;
export declare function DeleteSubscriptionItemRequestToJSON(json: any): DeleteSubscriptionItemRequest;
export declare function DeleteSubscriptionItemRequestToJSONTyped(value?: DeleteSubscriptionItemRequest | null, ignoreDiscriminator?: boolean): any;