PHP Class Payu\Builder\PaymentRequestBuilder

Inheritance: extends BuilderAbstract
Afficher le fichier Open project: paranoiaproject/payuclient Class Usage Examples

Protected Properties

Свойство Type Description
$basket Payu\Component\Basket
$billing Payu\Component\Billing
$delivery Payu\Component\Delivery
$order Payu\Component\Order

Méthodes publiques

Méthode Description
__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 )

Method Details

__construct() public méthode

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

addProduct() public méthode

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

build() public méthode

public build ( )

buildAndAddProduct() public méthode

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 méthode

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 méthode

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 méthode

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 méthode

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

setDelivery() public méthode

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

setOrder() public méthode

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

Property Details

$basket protected_oe property

protected Basket,Payu\Component $basket
Résultat Payu\Component\Basket

$billing protected_oe property

protected Billing,Payu\Component $billing
Résultat Payu\Component\Billing

$delivery protected_oe property

protected Delivery,Payu\Component $delivery
Résultat Payu\Component\Delivery

$order protected_oe property

protected Order,Payu\Component $order
Résultat Payu\Component\Order