PHP Класс Payu\Builder\PaymentRequestBuilder

Наследование: extends BuilderAbstract
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$basket Payu\Component\Basket
$billing Payu\Component\Billing
$delivery Payu\Component\Delivery
$order Payu\Component\Order

Открытые методы

Метод Описание
__construct ( Configuration $configuration )
addProduct ( Product $product )
build ( )
buildAndAddProduct ( null $name = null, null $code = null, null $quantity = null, null $info = null, null $price = null, null $version = null, null $vat = null, null $priceType = null )
buildBilling ( null $firstName = null, null $lastName = null, null $email = null, null $phone = null, null $fax = null, null $address = null, null $zipCode = null, null $city = null, null $state = null, null $countryCode = null )
buildDeliverys ( null $firstName = null, null $lastName = null, null $email = null, null $phone = null, null $company = null, null $address = null, null $zipCode = null, null $city = null, null $state = null, null $countryCode = null )
buildOrder ( $code, $clientIp, integer $installment = 1, string $currency = 'TRY', null $loyaltyAmount = null, string $paymentMethod = 'CCVISAMC', null $date = null, null $timeout = null, $recurringPayment = false )
setBilling ( Billing $billing )
setDelivery ( Delivery $delivery )
setOrder ( Order $order )

Описание методов

__construct() публичный Метод

public __construct ( Configuration $configuration )
$configuration PayU\Configuration

addProduct() публичный Метод

public addProduct ( Product $product )
$product Payu\Component\Product

build() публичный Метод

public build ( )

buildAndAddProduct() публичный Метод

public buildAndAddProduct ( null $name = null, null $code = null, null $quantity = null, null $info = null, null $price = null, null $version = null, null $vat = null, null $priceType = null )
$name null
$code null
$quantity null
$info null
$price null
$version null
$vat null
$priceType null

buildBilling() публичный Метод

public buildBilling ( null $firstName = null, null $lastName = null, null $email = null, null $phone = null, null $fax = null, null $address = null, null $zipCode = null, null $city = null, null $state = null, null $countryCode = null )
$firstName null
$lastName null
$email null
$phone null
$fax null
$address null
$zipCode null
$city null
$state null
$countryCode null

buildDeliverys() публичный Метод

public buildDeliverys ( null $firstName = null, null $lastName = null, null $email = null, null $phone = null, null $company = null, null $address = null, null $zipCode = null, null $city = null, null $state = null, null $countryCode = null )
$firstName null
$lastName null
$email null
$phone null
$company null
$address null
$zipCode null
$city null
$state null
$countryCode null

buildOrder() публичный Метод

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

setBilling() публичный Метод

public setBilling ( Billing $billing )
$billing Payu\Component\Billing

setDelivery() публичный Метод

public setDelivery ( Delivery $delivery )
$delivery Payu\Component\Delivery

setOrder() публичный Метод

public setOrder ( Order $order )
$order Payu\Component\Order

Описание свойств

$basket защищенное свойство

protected Basket,Payu\Component $basket
Результат Payu\Component\Basket

$billing защищенное свойство

protected Billing,Payu\Component $billing
Результат Payu\Component\Billing

$delivery защищенное свойство

protected Delivery,Payu\Component $delivery
Результат Payu\Component\Delivery

$order защищенное свойство

protected Order,Payu\Component $order
Результат Payu\Component\Order