Payu\Builder\PaymentRequestBuilder::buildOrder PHP Method

buildOrder() public method

public buildOrder ( $code, $clientIp, integer $installment = 1, string $currency = 'TRY', null $loyaltyAmount = null, string $paymentMethod = 'CCVISAMC', null $date = null, null $timeout = null, $recurringPayment = false )
$code
$clientIp
$installment integer
$currency string
$loyaltyAmount null
$paymentMethod string
$date null
$timeout null
    public function buildOrder($code, $clientIp, $installment = 1, $currency = 'TRY', $loyaltyAmount = null, $paymentMethod = 'CCVISAMC', $date = null, $timeout = null, $recurringPayment = false)
    {
        $this->order = new Order($code, $clientIp, $installment, $currency, $loyaltyAmount, $paymentMethod, $date, $timeout, $recurringPayment);
        return $this;
    }