Svea/BuildOrder/CancelOrderBuilder.php
/**
     * Use cancelCardOrder() to close a Card order.
     * 
     * Use the method corresponding to the original createOrder payment method.
     * 
     * @return HostedService\AnnulTransaction
     */
Use cancelCardOrder() to close a Card order.

Use the method corresponding to the original createOrder payment method.


Use cancelCardOrder () to close a Card order . Use the method corresponding to the original createOrder payment method .
public function cancelCardOrder() {
        $this->orderType = \ConfigurationProvider::HOSTED_ADMIN_TYPE;
        $annulTransaction = new HostedService\AnnulTransaction($this->conf);
        $annulTransaction->transactionId = $this->orderId;
        $annulTransaction->countryCode = $this->countryCode;
        return $annulTransaction;
    }
public function cancelCardOrder ( ) { $ this -> orderType = \ ConfigurationProvider :: HOSTED_ADMIN_TYPE ; $ annulTransaction = new HostedService \ AnnulTransaction ( $ this -> conf ) ; $ annulTransaction -> transactionId = $ this -> orderId ; $ annulTransaction -> countryCode = $ this -> countryCode ; return $ annulTransaction ; }
Use cancelCardOrder() to close a Card order.
Use cancelCardOrder () to close a Card order .