Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/Adyen/Model/Payout/ResponseAdditionalDataCommon.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,9 @@ public function getModelName()
return self::$openAPIModelName;
}

public const FRAUD_RESULT_TYPE_AMBER = 'AMBER';
public const FRAUD_RESULT_TYPE_GREEN = 'GREEN';
public const FRAUD_RESULT_TYPE_FRAUD = 'FRAUD';
public const FRAUD_RESULT_TYPE_RED = 'RED';
public const FRAUD_RISK_LEVEL_VERY_LOW = 'veryLow';
public const FRAUD_RISK_LEVEL_LOW = 'low';
public const FRAUD_RISK_LEVEL_MEDIUM = 'medium';
Expand All @@ -606,8 +607,9 @@ public function getModelName()
public function getFraudResultTypeAllowableValues()
{
return [
self::FRAUD_RESULT_TYPE_AMBER,
self::FRAUD_RESULT_TYPE_GREEN,
self::FRAUD_RESULT_TYPE_FRAUD,
self::FRAUD_RESULT_TYPE_RED,
];
}
/**
Expand Down Expand Up @@ -1350,7 +1352,7 @@ public function getFraudResultType()
/**
* Sets fraudResultType
*
* @param string|null $fraudResultType The fraud result properties of the payment.
* @param string|null $fraudResultType The fraud result properties of the payment. Possible values: * AMBER * GREEN * RED
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better readability, it's recommended to format the list of possible values as a comma-separated list. The current formatting with asterisks between values can be difficult to read.

     * @param string|null $fraudResultType The fraud result properties of the payment. Possible values: AMBER, GREEN, RED

*
* @return self
*/
Expand Down Expand Up @@ -1384,7 +1386,7 @@ public function getFraudRiskLevel()
/**
* Sets fraudRiskLevel
*
* @param string|null $fraudRiskLevel The risk level of the transaction as classified by the [machine learning](https://docs.adyen.com/risk-management/configure-your-risk-profile/machine-learning-rules/) fraud risk rule. The risk level indicates the likelihood that a transaction will result in a fraudulent dispute. The possible return values are: * veryLow * low * medium * high * veryHigh
* @param string|null $fraudRiskLevel The risk level of the transaction as classified by the [machine learning](https://docs.adyen.com/risk-management/configure-your-risk-profile/machine-learning-rules/) fraud risk rule. The risk level indicates the likelihood that a transaction will result in a fraudulent dispute. Possible values: * veryLow * low * medium * high * veryHigh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better readability and consistency, it's recommended to format the list of possible values as a comma-separated list. The current formatting with asterisks between values can be difficult to read.

     * @param string|null $fraudRiskLevel The risk level of the transaction as classified by the [machine learning](https://docs.adyen.com/risk-management/configure-your-risk-profile/machine-learning-rules/) fraud risk rule. The risk level indicates the likelihood that a transaction will result in a fraudulent dispute. Possible values: veryLow, low, medium, high, veryHigh

*
* @return self
*/
Expand Down
Loading