PHP Interface Sylius\Behat\Page\Admin\Order\ShowPageInterface

Author: Paweł Jędrzejewski ([email protected])
Author: Grzegorz Sadowski ([email protected])
Inheritance: extends Sylius\Behat\Page\SymfonyPageInterface
Show file Open project: sylius/sylius Interface Usage Examples

Public Methods

Method Description
canCompleteOrderLastPayment ( Sylius\Component\Core\Model\OrderInterface $order ) : boolean
canShipOrder ( Sylius\Component\Core\Model\OrderInterface $order ) : boolean
cancelOrder ( )
completeOrderLastPayment ( Sylius\Component\Core\Model\OrderInterface $order )
countItems ( ) : integer
deleteOrder ( )
getIpAddressAssigned ( ) : string
getItemCode ( string $itemName ) : string
getItemDiscount ( string $itemName ) : string
getItemDiscountedUnitPrice ( string $itemName ) : string
getItemQuantity ( string $itemName ) : string
getItemSubtotal ( string $itemName ) : string
getItemTax ( string $itemName ) : string
getItemTotal ( string $itemName ) : string
getItemUnitPrice ( string $itemName ) : string
getItemsTotal ( ) : string
getOrderCurrency ( ) : string
getOrderState ( ) : string
getPaymentAmount ( ) : string
getPaymentState ( ) : string
getPaymentsCount ( ) : integer
getPromotionTotal ( ) : string
getShippingTotal ( ) : string
getTaxTotal ( ) : string
getTotal ( ) : string
hasBillingAddress ( string $customerName, string $street, string $postcode, string $city, string $countryName ) : boolean
hasBillingProvinceName ( string $provinceName ) : boolean
hasCancelButton ( ) : boolean
hasCustomer ( string $customerName )
hasNote ( string $note ) : boolean
hasPayment ( string $paymentMethodName ) : boolean
hasPromotionDiscount ( string $promotionDiscount ) : boolean
hasShipment ( string $shippingMethodName ) : boolean
hasShippingAddress ( string $customerName, string $street, string $postcode, string $city, string $countryName ) : boolean
hasShippingCharge ( string $shippingCharge ) : boolean
hasShippingProvinceName ( string $provinceName ) : boolean
hasTax ( string $tax ) : boolean
isProductInTheList ( string $productName ) : boolean
refundOrderLastPayment ( Sylius\Component\Core\Model\OrderInterface $order )
shipOrder ( Sylius\Component\Core\Model\OrderInterface $order )
specifyTrackingCode ( string $code )

Method Details

canCompleteOrderLastPayment() public method

public canCompleteOrderLastPayment ( Sylius\Component\Core\Model\OrderInterface $order ) : boolean
$order Sylius\Component\Core\Model\OrderInterface
return boolean

canShipOrder() public method

public canShipOrder ( Sylius\Component\Core\Model\OrderInterface $order ) : boolean
$order Sylius\Component\Core\Model\OrderInterface
return boolean

cancelOrder() public method

public cancelOrder ( )

completeOrderLastPayment() public method

public completeOrderLastPayment ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

countItems() public method

public countItems ( ) : integer
return integer

deleteOrder() public method

public deleteOrder ( )

getIpAddressAssigned() public method

public getIpAddressAssigned ( ) : string
return string

getItemCode() public method

public getItemCode ( string $itemName ) : string
$itemName string
return string

getItemDiscount() public method

public getItemDiscount ( string $itemName ) : string
$itemName string
return string

getItemDiscountedUnitPrice() public method

public getItemDiscountedUnitPrice ( string $itemName ) : string
$itemName string
return string

getItemQuantity() public method

public getItemQuantity ( string $itemName ) : string
$itemName string
return string

getItemSubtotal() public method

public getItemSubtotal ( string $itemName ) : string
$itemName string
return string

getItemTax() public method

public getItemTax ( string $itemName ) : string
$itemName string
return string

getItemTotal() public method

public getItemTotal ( string $itemName ) : string
$itemName string
return string

getItemUnitPrice() public method

public getItemUnitPrice ( string $itemName ) : string
$itemName string
return string

getItemsTotal() public method

public getItemsTotal ( ) : string
return string

getOrderCurrency() public method

public getOrderCurrency ( ) : string
return string

getOrderState() public method

public getOrderState ( ) : string
return string

getPaymentAmount() public method

public getPaymentAmount ( ) : string
return string

getPaymentState() public method

public getPaymentState ( ) : string
return string

getPaymentsCount() public method

public getPaymentsCount ( ) : integer
return integer

getPromotionTotal() public method

public getPromotionTotal ( ) : string
return string

getShippingTotal() public method

public getShippingTotal ( ) : string
return string

getTaxTotal() public method

public getTaxTotal ( ) : string
return string

getTotal() public method

public getTotal ( ) : string
return string

hasBillingAddress() public method

public hasBillingAddress ( string $customerName, string $street, string $postcode, string $city, string $countryName ) : boolean
$customerName string
$street string
$postcode string
$city string
$countryName string
return boolean

hasBillingProvinceName() public method

public hasBillingProvinceName ( string $provinceName ) : boolean
$provinceName string
return boolean

hasCancelButton() public method

public hasCancelButton ( ) : boolean
return boolean

hasCustomer() public method

public hasCustomer ( string $customerName )
$customerName string

hasNote() public method

public hasNote ( string $note ) : boolean
$note string
return boolean

hasPayment() public method

public hasPayment ( string $paymentMethodName ) : boolean
$paymentMethodName string
return boolean

hasPromotionDiscount() public method

public hasPromotionDiscount ( string $promotionDiscount ) : boolean
$promotionDiscount string
return boolean

hasShipment() public method

public hasShipment ( string $shippingMethodName ) : boolean
$shippingMethodName string
return boolean

hasShippingAddress() public method

public hasShippingAddress ( string $customerName, string $street, string $postcode, string $city, string $countryName ) : boolean
$customerName string
$street string
$postcode string
$city string
$countryName string
return boolean

hasShippingCharge() public method

public hasShippingCharge ( string $shippingCharge ) : boolean
$shippingCharge string
return boolean

hasShippingProvinceName() public method

public hasShippingProvinceName ( string $provinceName ) : boolean
$provinceName string
return boolean

hasTax() public method

public hasTax ( string $tax ) : boolean
$tax string
return boolean

isProductInTheList() public method

public isProductInTheList ( string $productName ) : boolean
$productName string
return boolean

refundOrderLastPayment() public method

public refundOrderLastPayment ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

shipOrder() public method

public shipOrder ( Sylius\Component\Core\Model\OrderInterface $order )
$order Sylius\Component\Core\Model\OrderInterface

specifyTrackingCode() public method

public specifyTrackingCode ( string $code )
$code string