src/Resource/Orders.php
public function addInstallmentCheckoutPreferences($quantity, $discountValue = 0, $additionalValue = 0)
    {
        $installmentPreferences = new stdClass();
        $installmentPreferences->quantity = $quantity;
        $installmentPreferences->discount = $discountValue;
        $installmentPreferences->addition = $additionalValue;

        $this->data->checkoutPreferences->installments[] = $installmentPreferences;

        return $this;
    }
public function addInstallmentCheckoutPreferences($quantity, $discountValue = 0, $additionalValue = 0)
    {
        $installmentPreferences = new stdClass();
        $installmentPreferences->quantity = $quantity;
        $installmentPreferences->discount = $discountValue;
        $installmentPreferences->addition = $additionalValue;

        $this->data->checkoutPreferences->installments[] = $installmentPreferences;

        return $this;
    }
public function addInstallmentCheckoutPreferences ( $ quantity , $ discountValue = 0 , $ additionalValue = 0 ) { $ installmentPreferences = new stdClass ( ) ; $ installmentPreferences -> quantity = $ quantity ; $ installmentPreferences -> discount = $ discountValue ; $ installmentPreferences -> addition = $ additionalValue ; $ this -> data -> checkoutPreferences -> installments [ ] = $ installmentPreferences ; return $ this ; }
Set installment settings for checkout preferences.

@param array $quantity
@param int   $discountValue
@param int   $additionalValue

@return $this
Set installment settings for checkout preferences .