UNPKG

@paciolan/cybersource-sdk

Version:
79 lines (78 loc) 3.32 kB
/** * CyberSource Merged Spec * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html * * OpenAPI spec version: 0.0.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ /** * * @export * @interface V3PredefinedreportsubscriptionsBody */ export interface V3PredefinedreportsubscriptionsBody { /** * Valid Report Definition Name * @type {string} * @memberof V3PredefinedreportsubscriptionsBody */ reportDefinitionName: string; /** * The subscription type for which report definition is required. Valid values are CLASSIC and STANDARD. Valid Values: - CLASSIC - STANDARD * @type {string} * @memberof V3PredefinedreportsubscriptionsBody */ subscriptionType: string; /** * * @type {string} * @memberof V3PredefinedreportsubscriptionsBody */ reportName?: string; /** * Report Format Valid Values: - application/xml - text/csv * @type {string} * @memberof V3PredefinedreportsubscriptionsBody */ reportMimeType?: string; /** * 'The frequency for which subscription is created. For Standard we can have DAILY, WEEKLY and MONTHLY. But for Classic we will have only DAILY.' **NOTE: Do not document USER_DEFINED Frequency field in developer center** Valid Values: - 'DAILY' - 'WEEKLY' - 'MONTHLY' - 'USER_DEFINED' * @type {string} * @memberof V3PredefinedreportsubscriptionsBody */ reportFrequency?: string; /** * If the reportFrequency is User-defined, reportInterval should be in **ISO 8601 time format** Please refer the following link to know more about ISO 8601 format.[Rfc Time Format](https://en.wikipedia.org/wiki/ISO_8601#Durations) **Example time format for 2 hours and 30 Mins:** - PT2H30M **NOTE: Do not document reportInterval field in developer center** * @type {string} * @memberof V3PredefinedreportsubscriptionsBody */ reportInterval?: string; /** * By Default the timezone for Standard subscription is PST. And for Classic subscription it will be GMT. If user provides any other time zone apart from PST for Standard subscription api should error out. * @type {string} * @memberof V3PredefinedreportsubscriptionsBody */ timezone?: string; /** * The hour at which the report generation should start. It should be in hhmm format. By Default it will be 0000. The format is 24 hours format. * @type {string} * @memberof V3PredefinedreportsubscriptionsBody */ startTime?: string; /** * This is the start day if the frequency is WEEKLY or MONTHLY. The value varies from 1-7 for WEEKLY and 1-31 for MONTHLY. For WEEKLY 1 means Sunday and 7 means Saturday. By default the value is 1. * @type {number} * @memberof V3PredefinedreportsubscriptionsBody */ startDay?: number; /** * The status for subscription which is either created or updated. By default it is ACTIVE. Valid Values: - ACTIVE - INACTIVE * @type {string} * @memberof V3PredefinedreportsubscriptionsBody */ subscriptionStatus?: string; }