public function buildDetailsTransaction()
    {
        return array(
            'date'              => $this->formatDate($this->_detailsTransactionByCode->getDate()),
            'code'              => $this->_detailsTransactionByCode->getCode(),
            'reference'         => $this->_detailsTransactionByCode->getReference(),
            'type'              => \UOL\PagSeguro\Helper\Data::getTransactionTypeName($this->_detailsTransactionByCode->getType()),
            'status'            => \UOL\PagSeguro\Helper\Data::getPaymentStatusToString($this->_detailsTransactionByCode->getStatus()),
            'lastEventDate'     => $this->formatDate($this->_detailsTransactionByCode->getLastEventDate()),
            'installmentCount'  => $this->_detailsTransactionByCode->getInstallmentCount(),
            'cancelationSource' => \UOL\PagSeguro\Helper\Data::getTitleCancellationSourceTransaction($this->_detailsTransactionByCode->getCancelationSource()),
            'discountAmount'    => $this->_detailsTransactionByCode->getDiscountAmount(),
            'escrowEndDate'     => $this->formatDate($this->_detailsTransactionByCode->getEscrowEndDate()),
            'extraAmount'       => $this->_detailsTransactionByCode->getExtraAmount(),
            'feeAmount'         => $this->_detailsTransactionByCode->getFeeAmount(),
            'grossAmount'       => $this->_detailsTransactionByCode->getGrossAmount(),
            'netAmount'         => $this->_detailsTransactionByCode->getNetAmount(),
            'creditorFees'      => $this->prepareCreditorFees(),
            'itemCount'         => $this->_detailsTransactionByCode->getItemCount(),
            'items'             => $this->prepareItems(),
            'paymentMethod'     => $this->preparePaymentMethod(),
            'sender'            => $this->prepareSender(),
            'shipping'          => $this->prepareShipping(),
            'paymentLink'       => $this->_detailsTransactionByCode->getPaymentLink(),
            'promoCode'         => $this->_detailsTransactionByCode->getPromoCode()
        );
    }
public function buildDetailsTransaction()
    {
        return array(
            'date'              => $this->formatDate($this->_detailsTransactionByCode->getDate()),
            'code'              => $this->_detailsTransactionByCode->getCode(),
            'reference'         => $this->_detailsTransactionByCode->getReference(),
            'type'              => \UOL\PagSeguro\Helper\Data::getTransactionTypeName($this->_detailsTransactionByCode->getType()),
            'status'            => \UOL\PagSeguro\Helper\Data::getPaymentStatusToString($this->_detailsTransactionByCode->getStatus()),
            'lastEventDate'     => $this->formatDate($this->_detailsTransactionByCode->getLastEventDate()),
            'installmentCount'  => $this->_detailsTransactionByCode->getInstallmentCount(),
            'cancelationSource' => \UOL\PagSeguro\Helper\Data::getTitleCancellationSourceTransaction($this->_detailsTransactionByCode->getCancelationSource()),
            'discountAmount'    => $this->_detailsTransactionByCode->getDiscountAmount(),
            'escrowEndDate'     => $this->formatDate($this->_detailsTransactionByCode->getEscrowEndDate()),
            'extraAmount'       => $this->_detailsTransactionByCode->getExtraAmount(),
            'feeAmount'         => $this->_detailsTransactionByCode->getFeeAmount(),
            'grossAmount'       => $this->_detailsTransactionByCode->getGrossAmount(),
            'netAmount'         => $this->_detailsTransactionByCode->getNetAmount(),
            'creditorFees'      => $this->prepareCreditorFees(),
            'itemCount'         => $this->_detailsTransactionByCode->getItemCount(),
            'items'             => $this->prepareItems(),
            'paymentMethod'     => $this->preparePaymentMethod(),
            'sender'            => $this->prepareSender(),
            'shipping'          => $this->prepareShipping(),
            'paymentLink'       => $this->_detailsTransactionByCode->getPaymentLink(),
            'promoCode'         => $this->_detailsTransactionByCode->getPromoCode()
        );
    }
public function buildDetailsTransaction ( ) { return array ( 'date' => $ this -> formatDate ( $ this -> _detailsTransactionByCode -> getDate ( ) ) , 'code' => $ this -> _detailsTransactionByCode -> getCode ( ) , 'reference' => $ this -> _detailsTransactionByCode -> getReference ( ) , 'type' => \ UOL \ PagSeguro \ Helper \ Data :: getTransactionTypeName ( $ this -> _detailsTransactionByCode -> getType ( ) ) , 'status' => \ UOL \ PagSeguro \ Helper \ Data :: getPaymentStatusToString ( $ this -> _detailsTransactionByCode -> getStatus ( ) ) , 'lastEventDate' => $ this -> formatDate ( $ this -> _detailsTransactionByCode -> getLastEventDate ( ) ) , 'installmentCount' => $ this -> _detailsTransactionByCode -> getInstallmentCount ( ) , 'cancelationSource' => \ UOL \ PagSeguro \ Helper \ Data :: getTitleCancellationSourceTransaction ( $ this -> _detailsTransactionByCode -> getCancelationSource ( ) ) , 'discountAmount' => $ this -> _detailsTransactionByCode -> getDiscountAmount ( ) , 'escrowEndDate' => $ this -> formatDate ( $ this -> _detailsTransactionByCode -> getEscrowEndDate ( ) ) , 'extraAmount' => $ this -> _detailsTransactionByCode -> getExtraAmount ( ) , 'feeAmount' => $ this -> _detailsTransactionByCode -> getFeeAmount ( ) , 'grossAmount' => $ this -> _detailsTransactionByCode -> getGrossAmount ( ) , 'netAmount' => $ this -> _detailsTransactionByCode -> getNetAmount ( ) , 'creditorFees' => $ this -> prepareCreditorFees ( ) , 'itemCount' => $ this -> _detailsTransactionByCode -> getItemCount ( ) , 'items' => $ this -> prepareItems ( ) , 'paymentMethod' => $ this -> preparePaymentMethod ( ) , 'sender' => $ this -> prepareSender ( ) , 'shipping' => $ this -> prepareShipping ( ) , 'paymentLink' => $ this -> _detailsTransactionByCode -> getPaymentLink ( ) , 'promoCode' => $ this -> _detailsTransactionByCode -> getPromoCode ( ) ) ; }
Build and format the transaction data for the listing
@return array
Build and format the transaction data for the listing