mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-10 21:08:41 +00:00
116 lines
2.3 KiB
PHP
116 lines
2.3 KiB
PHP
<?php
|
|
|
|
namespace PayPal\Api;
|
|
|
|
use PayPal\Common\PayPalModel;
|
|
|
|
/**
|
|
* Class FmfDetails
|
|
*
|
|
* Details of Fraud Management Filter (FMF).
|
|
*
|
|
* @package PayPal\Api
|
|
*
|
|
* @property string filter_type
|
|
* @property string filter_id
|
|
* @property string name
|
|
* @property string description
|
|
*/
|
|
class FmfDetails extends PayPalModel
|
|
{
|
|
/**
|
|
* Type of filter.
|
|
* Valid Values: ["ACCEPT", "PENDING", "DENY", "REPORT"]
|
|
*
|
|
* @param string $filter_type
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setFilterType($filter_type)
|
|
{
|
|
$this->filter_type = $filter_type;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Type of filter.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getFilterType()
|
|
{
|
|
return $this->filter_type;
|
|
}
|
|
|
|
/**
|
|
* Filter Identifier.
|
|
* Valid Values: ["AVS_NO_MATCH", "AVS_PARTIAL_MATCH", "AVS_UNAVAILABLE_OR_UNSUPPORTED", "CARD_SECURITY_CODE_MISMATCH", "MAXIMUM_TRANSACTION_AMOUNT", "UNCONFIRMED_ADDRESS", "COUNTRY_MONITOR", "LARGE_ORDER_NUMBER", "BILLING_OR_SHIPPING_ADDRESS_MISMATCH", "RISKY_ZIP_CODE", "SUSPECTED_FREIGHT_FORWARDER_CHECK", "TOTAL_PURCHASE_PRICE_MINIMUM", "IP_ADDRESS_VELOCITY", "RISKY_EMAIL_ADDRESS_DOMAIN_CHECK", "RISKY_BANK_IDENTIFICATION_NUMBER_CHECK", "RISKY_IP_ADDRESS_RANGE", "PAYPAL_FRAUD_MODEL"]
|
|
*
|
|
* @param string $filter_id
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setFilterId($filter_id)
|
|
{
|
|
$this->filter_id = $filter_id;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Filter Identifier.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getFilterId()
|
|
{
|
|
return $this->filter_id;
|
|
}
|
|
|
|
/**
|
|
* Name of the filter
|
|
*
|
|
* @param string $name
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setName($name)
|
|
{
|
|
$this->name = $name;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Name of the filter
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getName()
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* Description of the filter.
|
|
*
|
|
* @param string $description
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setDescription($description)
|
|
{
|
|
$this->description = $description;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Description of the filter.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getDescription()
|
|
{
|
|
return $this->description;
|
|
}
|
|
|
|
}
|