whalecloud-dxp-api-react-native
Version:
This section explains how to use the SDK and illustrates it with an example: - This chapter is essential to learn - For specific business development, see [Bussiness Scenario](https://www.digchan.info/en-US/dxp/user-sso/sign-up) - The Business Scenario pr
158 lines (150 loc) • 3.82 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* DXP API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document:
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { OfferDescription } from './offer-description';
/**
*
* @export
* @interface MktOffer
*/
export interface MktOffer {
/**
* Reward ID
* @type {number}
* @memberof MktOffer
*/
'rewardId': number;
/**
* Reward name
* @type {string}
* @memberof MktOffer
*/
'rewardName': string;
/**
* Reward description
* @type {string}
* @memberof MktOffer
*/
'rewardDescription'?: string;
/**
* Reward image URL
* @type {string}
* @memberof MktOffer
*/
'rewardUrl'?: string;
/**
* Reward type. Possible values are: / 1-Telco cvBS offer; / 6-Lottery Chance; / 7-Loyalty Point; / 8-cvBS Balance Adjust; / 9-Cust Center Point; / 13-Subscription Offer; / 14-Voucher; / 15-Telco PRM Offer; / 19-Main Offer; / 22-CEE Coupon
* @type {string}
* @memberof MktOffer
*/
'rewardType': MktOfferRewardTypeEnum;
/**
* The type of offer. Possible values are: / 1-Bundle; / 2-Main Offer; / 3-Function Offer; /4-Additional Offer; /5-Goods Offer
* @type {string}
* @memberof MktOffer
*/
'offerType': string;
/**
* A unique identifier for an offer.
* @type {string}
* @memberof MktOffer
*/
'offerNbr': string;
/**
* The name of the offer .
* @type {string}
* @memberof MktOffer
*/
'offerName': string;
/**
* The URL of the image.
* @type {string}
* @memberof MktOffer
*/
'imageUrl'?: string;
/**
* The rental price of the offer.
* @type {string}
* @memberof MktOffer
*/
'rentPrice'?: string;
/**
* The rental price as an integer.
* @type {number}
* @memberof MktOffer
*/
'rentPriceInt'?: number;
/**
* Sales price
* @type {string}
* @memberof MktOffer
*/
'salesPrice'?: string;
/**
* The sales price as an integer.
* @type {number}
* @memberof MktOffer
*/
'salesPriceInt'?: number;
/**
* The formatted price after applying the discount.
* @type {string}
* @memberof MktOffer
*/
'discountPrice'?: string;
/**
* The raw price after applying the discount.
* @type {number}
* @memberof MktOffer
*/
'discountPriceInt'?: number;
/**
* The type of discount. Possible values are: / R-Discount Rate; / F-Fixed Amount Discount; / P-Promotional Price
* @type {string}
* @memberof MktOffer
*/
'discountType'?: string;
/**
* The raw value of the discount applied, which could be a rate, fixed amount, or promotional price, depending on the discount type (e.g., 2000 for 20.00 discount).
* @type {number}
* @memberof MktOffer
*/
'discountValueInt'?: number;
/**
* Recommend Offer
* @type {boolean}
* @memberof MktOffer
*/
'recommendOffer'?: boolean;
/**
* Description list
* @type {Array<OfferDescription>}
* @memberof MktOffer
*/
'descriptionList'?: Array<OfferDescription>;
}
export const MktOfferRewardTypeEnum = {
_1: '1',
_6: '6',
_7: '7',
_8: '8',
_9: '9',
_13: '13',
_14: '14',
_15: '15',
_19: '19',
_22: '22'
} as const;
export type MktOfferRewardTypeEnum = typeof MktOfferRewardTypeEnum[keyof typeof MktOfferRewardTypeEnum];