UNPKG

@paciolan/cybersource-sdk

Version:
97 lines (96 loc) 5.23 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. */ import { PtsV2PaymentsPost201ResponseRiskInformationInfoCodes } from './pts-v2-payments-post201-response-risk-information-info-codes'; import { PtsV2PaymentsPost201ResponseRiskInformationIpAddress } from './pts-v2-payments-post201-response-risk-information-ip-address'; import { PtsV2PaymentsPost201ResponseRiskInformationProcessorResults } from './pts-v2-payments-post201-response-risk-information-processor-results'; import { PtsV2PaymentsPost201ResponseRiskInformationProfile } from './pts-v2-payments-post201-response-risk-information-profile'; import { PtsV2PaymentsPost201ResponseRiskInformationRules } from './pts-v2-payments-post201-response-risk-information-rules'; import { PtsV2PaymentsPost201ResponseRiskInformationScore } from './pts-v2-payments-post201-response-risk-information-score'; import { PtsV2PaymentsPost201ResponseRiskInformationTravel } from './pts-v2-payments-post201-response-risk-information-travel'; import { PtsV2PaymentsPost201ResponseRiskInformationVelocity } from './pts-v2-payments-post201-response-risk-information-velocity'; /** * Contains the result of risk assessment. * @export * @interface PtsV2PaymentsPost201ResponseRiskInformation */ export interface PtsV2PaymentsPost201ResponseRiskInformation { /** * * @type {PtsV2PaymentsPost201ResponseRiskInformationProfile} * @memberof PtsV2PaymentsPost201ResponseRiskInformation */ profile?: PtsV2PaymentsPost201ResponseRiskInformationProfile; /** * * @type {Array<PtsV2PaymentsPost201ResponseRiskInformationRules>} * @memberof PtsV2PaymentsPost201ResponseRiskInformation */ rules?: Array<PtsV2PaymentsPost201ResponseRiskInformationRules>; /** * * @type {PtsV2PaymentsPost201ResponseRiskInformationInfoCodes} * @memberof PtsV2PaymentsPost201ResponseRiskInformation */ infoCodes?: PtsV2PaymentsPost201ResponseRiskInformationInfoCodes; /** * * @type {PtsV2PaymentsPost201ResponseRiskInformationVelocity} * @memberof PtsV2PaymentsPost201ResponseRiskInformation */ velocity?: PtsV2PaymentsPost201ResponseRiskInformationVelocity; /** * You receive this field only if you subscribe to the Enhanced Case Management service. The priority level ranges from 1 (highest) to 5 (lowest); the default value is 3. If you do not assign a priority to your rules or to your profiles, the default value is given to the order. For all possible values, see the `decision_case_priority` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link). * @type {number} * @memberof PtsV2PaymentsPost201ResponseRiskInformation */ casePriority?: number; /** * The customer's local time (`hh:mm:ss`), which is calculated from the transaction request time and the customer's billing address. For details, see the `score_time_local` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) * @type {string} * @memberof PtsV2PaymentsPost201ResponseRiskInformation */ localTime?: string; /** * * @type {PtsV2PaymentsPost201ResponseRiskInformationScore} * @memberof PtsV2PaymentsPost201ResponseRiskInformation */ score?: PtsV2PaymentsPost201ResponseRiskInformationScore; /** * * @type {PtsV2PaymentsPost201ResponseRiskInformationIpAddress} * @memberof PtsV2PaymentsPost201ResponseRiskInformation */ ipAddress?: PtsV2PaymentsPost201ResponseRiskInformationIpAddress; /** * Name of the 3rd party provider, for example, Emailage. For all possible values, see the `decision_provider_#_name` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link). * @type {{ [key: string]: { [key: string]: string; }; }} * @memberof PtsV2PaymentsPost201ResponseRiskInformation */ providers?: { [key: string]: { [key: string]: string; }; }; /** * * @type {PtsV2PaymentsPost201ResponseRiskInformationTravel} * @memberof PtsV2PaymentsPost201ResponseRiskInformation */ travel?: PtsV2PaymentsPost201ResponseRiskInformationTravel; /** * * @type {PtsV2PaymentsPost201ResponseRiskInformationProcessorResults} * @memberof PtsV2PaymentsPost201ResponseRiskInformation */ processorResults?: PtsV2PaymentsPost201ResponseRiskInformationProcessorResults; }