PayU integration by Krzysztof Gzocha
  • Namespace
  • Class

Namespaces

  • Team3
    • PayU
      • Annotation
      • Communication
        • CurlRequestBuilder
        • HttpStatusParser
        • Notification
        • Process
          • NotificationProcess
          • ResponseDeserializer
        • Request
          • Model
        • Response
          • Model
        • Sender
      • Configuration
        • Credentials
      • Order
        • Autocomplete
          • Strategy
        • Model
          • Buyer
          • Money
          • Products
          • ShippingMethods
          • Traits
        • Transformer
          • UserOrder
            • Strategy
              • Product
              • ShippingMethod
      • PropertyExtractor
        • Reader
      • Serializer
      • SignatureCalculator
        • Encoder
          • Algorithms
          • Strategy
        • ParametersSorter
        • Validator
      • ValidatorBuilder

Classes

  • Order
  • OrderStatus

Interfaces

  • IsFilledInterface
  • OrderInterface
  • OrderStatusInterface

Traits

  • IsFilledTrait

Class Order

Class Order

Team3\PayU\Order\Model\Order implements Team3\PayU\Order\Model\OrderInterface uses Team3\PayU\Order\Model\IsFilledTrait, Team3\PayU\Order\Model\Traits\UrlsTrait, Team3\PayU\Order\Model\Traits\ProductCollectionTrait, Team3\PayU\Order\Model\Traits\ShippingMethodCollectionTrait, Team3\PayU\Order\Model\Traits\OrderIdentificationParametersTrait
Namespace: Team3\PayU\Order\Model
Package: Team3\PayU\Order\Model
Jms\accessororder("alphabetical")
Jms\accesstype("public_method")
Located at Team3/PayU/Order/Model/Order.php

Methods summary

public
# __construct( )
public Team3\PayU\Order\Model\Buyer\BuyerInterface
# getBuyer( )

Returns

Team3\PayU\Order\Model\Buyer\BuyerInterface

Implementation of

Team3\PayU\Order\Model\OrderInterface::getBuyer()
public Team3\PayU\Order\Model\Order
# setBuyer( Team3\PayU\Order\Model\Buyer\BuyerInterface $buyer )

Parameters

$buyer

Returns

Team3\PayU\Order\Model\Order

Implementation of

Team3\PayU\Order\Model\OrderInterface::setBuyer()
public string
# getAdditionalDescription( )

Returns

string

Implementation of

Team3\PayU\Order\Model\OrderInterface::getAdditionalDescription()
public
# setAdditionalDescription( string $additionalDescription )

Parameters

$additionalDescription

Returns


$this

Implementation of

Team3\PayU\Order\Model\OrderInterface::setAdditionalDescription()
public string
# getCurrencyCode( )

Returns

string

Implementation of

Team3\PayU\Order\Model\OrderInterface::getCurrencyCode()
public
# setCurrencyCode( string $currencyCode )

Parameters

$currencyCode

Returns


$this

Implementation of

Team3\PayU\Order\Model\OrderInterface::setCurrencyCode()
public string
# getCustomerIp( )

Returns

string

Implementation of

Team3\PayU\Order\Model\OrderInterface::getCustomerIp()
public
# setCustomerIp( string $customerIp )

Parameters

$customerIp

Returns


$this

Implementation of

Team3\PayU\Order\Model\OrderInterface::setCustomerIp()
public string
# getDescription( )

Returns

string

Implementation of

Team3\PayU\Order\Model\OrderInterface::getDescription()
public
# setDescription( string $description )

Parameters

$description

Returns


$this

Implementation of

Team3\PayU\Order\Model\OrderInterface::setDescription()
public string
# getMerchantPosId( )

Returns

string

Implementation of

Team3\PayU\Order\Model\OrderInterface::getMerchantPosId()
public
# setMerchantPosId( string $merchantPosId )

Parameters

$merchantPosId

Returns


$this

Implementation of

Team3\PayU\Order\Model\OrderInterface::setMerchantPosId()
public string
# getSignature( )

Returns

string

Implementation of

Team3\PayU\Order\Model\OrderInterface::getSignature()
public
# setSignature( string $signature )

Parameters

$signature

Returns


$this

Implementation of

Team3\PayU\Order\Model\OrderInterface::setSignature()
public Team3\PayU\Order\Model\Money\MoneyInterface
# getTotalAmount( )

Returns

Team3\PayU\Order\Model\Money\MoneyInterface

Implementation of

Team3\PayU\Order\Model\OrderInterface::getTotalAmount()
public
# setTotalAmount( Team3\PayU\Order\Model\Money\MoneyInterface $totalAmount )

Parameters

$totalAmount

Returns


$this

Implementation of

Team3\PayU\Order\Model\OrderInterface::setTotalAmount()
public
# setTotalAmountFromDeserialization( integer $price )

Parameters

$price

Returns


$this
public integer
# getTotalAmountForSerialization( )

Returns

integer
public DateTime
# getCreatedAt( )

Returns

DateTime

Implementation of

Team3\PayU\Order\Model\OrderInterface::getCreatedAt()
public
# setCreatedAt( DateTime $createdAt )

Parameters

$createdAt

Returns


$this

Implementation of

Team3\PayU\Order\Model\OrderInterface::setCreatedAt()
public Team3\PayU\Order\Model\OrderStatus
# getStatus( )

Returns

Team3\PayU\Order\Model\OrderStatus

Implementation of

Team3\PayU\Order\Model\OrderInterface::getStatus()
public string
# getStatusForSerialization( )

Returns

string
public
# setStatus( Team3\PayU\Order\Model\OrderStatusInterface $status )

Parameters

$status

Returns


$this

Implementation of

Team3\PayU\Order\Model\OrderInterface::setStatus()
public
# setStatusFromDeserialization( string $status )

Parameters

$status

Returns


$this
public
# setCreatedAtFromDeserialization( string $createdAt )

PayU is using different datetime formats for different things. This method will capture any datetime format and parse it into DateTime object

PayU is using different datetime formats for different things. This method will capture any datetime format and parse it into DateTime object

Parameters

$createdAt

Returns


$this

Methods inherited from Team3\PayU\Order\Model\OrderInterface

getContinueUrl(), getNotifyUrl(), getOrderId(), getOrderUrl(), getPayUOrderId(), getProductCollection(), getShippingMethodCollection(), setContinueUrl(), setNotifyUrl(), setOrderId(), setOrderUrl(), setProductCollection(), setShippingMethodCollection()

Methods inherited from Team3\PayU\Order\Model\IsFilledInterface

isFilled()

Methods used from Team3\PayU\Order\Model\IsFilledTrait

isFilled()

Methods used from Team3\PayU\Order\Model\Traits\UrlsTrait

getContinueUrl(), getNotifyUrl(), getOrderUrl(), setContinueUrl(), setNotifyUrl(), setOrderUrl()

Methods used from Team3\PayU\Order\Model\Traits\ProductCollectionTrait

getProductCollection(), setProductCollection(), setProductCollectionFromDeserialization()

Methods used from Team3\PayU\Order\Model\Traits\ShippingMethodCollectionTrait

getShippingMethodCollection(), setShippingMethodCollection(), setShippingMethodCollectionFromDeserialization()

Methods used from Team3\PayU\Order\Model\Traits\OrderIdentificationParametersTrait

getOrderId(), getPayUOrderId(), setOrderId(), setPayUOrderId()

Magic methods summary

Properties summary

protected Team3\PayU\Order\Model\Buyer\BuyerInterface $buyer

Assert\valid()

Jms\groups({"buyer"})

Jms\type("team3\payu\order\model\buyer\buyer")

#
protected string $customerIp

Assert\ip()

Assert\notblank()

Jms\serializedname("customerip")

Jms\type("string")

#
protected string $merchantPosId

Assert\notblank()

Jms\serializedname("merchantposid")

Jms\type("string")

#
protected string $description

Assert\notblank()

Jms\type("string")

#
protected string $extraDescription

Jms\accessor(

getter="getAdditionalDescription", setter="setAdditionalDescription" )


Jms\serializedname("additionaldescription")

Jms\type("string")

#
protected string $currencyCode

Assert\notblank()

Jms\serializedname("currencycode")

Jms\type("string")

#
protected Team3\PayU\Order\Model\Money\MoneyInterface $totalAmount

Assert\notblank()

Assert\type(type="object")

Assert\valid

Jms\accessor(

getter="getTotalAmountForSerialization", setter="setTotalAmountFromDeserialization" )


Jms\serializedname("totalamount")

Jms\type("integer")

#
protected string $signature

Assert\notblank()

Jms\serializedname("openpayu-signature")

Jms\type("string")

#
protected DateTime $createdAt

Jms\accessor(

setter="setCreatedAtFromDeserialization" )


Jms\serializedname("ordercreatedate")

Jms\type("string")

#
protected Team3\PayU\Order\Model\OrderStatusInterface $status

Jms\accessor(

getter="getStatusForSerialization", setter="setStatusFromDeserialization" )


Jms\type("string")

#

Properties used from Team3\PayU\Order\Model\Traits\UrlsTrait

$continueUrl, $notifyUrl, $orderUrl

Properties used from Team3\PayU\Order\Model\Traits\ProductCollectionTrait

$productCollection

Properties used from Team3\PayU\Order\Model\Traits\ShippingMethodCollectionTrait

$shippingCollection

Properties used from Team3\PayU\Order\Model\Traits\OrderIdentificationParametersTrait

$extOrderId, $payUOrderId

PayU integration by Krzysztof Gzocha API documentation generated by ApiGen