@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
28 lines • 1.25 kB
TypeScript
import { CountryEnum } from './CountryEnum';
import { Price } from '../order/Price';
/** Details about a SMS pack */
export interface PackDetails {
/** Destination country code */
countryCode: CountryEnum;
/** Credits consumed by sending one SMS towards the given destination */
credit: number;
/** Price of one credit, including pack's promotion */
creditPrice: Price;
/** Maximum quantity (excluded) of credit to order to have this price */
creditQuantityMax?: number;
/** Minimum quantity (included) of credit to order to have this price */
creditQuantityMin: number;
/** Price of one credit, during a promotional event */
discountCreditPrice?: Price;
/** Percentage applied as part of a promotional event */
discountPercentage?: number;
/** Price of one SMS, during a promotional event */
discountSmsPrice?: Price;
/** Price of one SMS sent towards the given destination, including pack's promotion */
smsPrice: Price;
/** Maximum quantity (excluded) of SMS you can obtain with this pack */
smsQuantityMax?: number;
/** Minimum quantity (included) of SMS you can obtain with this pack */
smsQuantityMin: number;
}
//# sourceMappingURL=PackDetails.d.ts.map