forked from LiveCarta/PayPal-PHP-SDK
Updated Payment APIs
- Updated SDK Models to latest Payment APIs - Updated Unit Tests
This commit is contained in:
115
lib/PayPal/Api/FmfDetails.php
Normal file
115
lib/PayPal/Api/FmfDetails.php
Normal file
@@ -0,0 +1,115 @@
|
||||
<?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_MATCH", "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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user