Iyzipay\Model\ConvertedPayout::setBlockageRateAmountMerchant PHP Method

setBlockageRateAmountMerchant() public method

public setBlockageRateAmountMerchant ( $blockageRateAmountMerchant )
    public function setBlockageRateAmountMerchant($blockageRateAmountMerchant)
    {
        $this->blockageRateAmountMerchant = $blockageRateAmountMerchant;
    }

Usage Example

 public function mapConvertedPayout($payout)
 {
     $convertedPayout = new ConvertedPayout();
     if (isset($payout->paidPrice)) {
         $convertedPayout->setPaidPrice($payout->paidPrice);
     }
     if (isset($payout->iyziCommissionRateAmount)) {
         $convertedPayout->setIyziCommissionRateAmount($payout->iyziCommissionRateAmount);
     }
     if (isset($payout->iyziCommissionFee)) {
         $convertedPayout->setIyziCommissionFee($payout->iyziCommissionFee);
     }
     if (isset($payout->blockageRateAmountMerchant)) {
         $convertedPayout->setBlockageRateAmountMerchant($payout->blockageRateAmountMerchant);
     }
     if (isset($payout->blockageRateAmountSubMerchant)) {
         $convertedPayout->setBlockageRateAmountSubMerchant($payout->blockageRateAmountSubMerchant);
     }
     if (isset($payout->subMerchantPayoutAmount)) {
         $convertedPayout->setSubMerchantPayoutAmount($payout->subMerchantPayoutAmount);
     }
     if (isset($payout->merchantPayoutAmount)) {
         $convertedPayout->setMerchantPayoutAmount($payout->merchantPayoutAmount);
     }
     if (isset($payout->iyziConversionRate)) {
         $convertedPayout->setIyziConversionRate($payout->iyziConversionRate);
     }
     if (isset($payout->iyziConversionRateAmount)) {
         $convertedPayout->setIyziConversionRateAmount($payout->iyziConversionRateAmount);
     }
     if (isset($payout->currency)) {
         $convertedPayout->setCurrency($payout->currency);
     }
     return $convertedPayout;
 }