services:
    oro_money_order.payment_method.money_order.config:
        class: 'Oro\Bundle\MoneyOrderBundle\Method\Config\MoneyOrderConfig'
        public: false
        arguments:
            - '@oro_config.global'

    oro_money_order.payment_method.money_order:
        class: 'Oro\Bundle\MoneyOrderBundle\Method\MoneyOrder'
        public: false
        arguments:
            - '@oro_money_order.payment_method.money_order.config'
        tags:
            - { name: oro_payment.payment_method }

    oro_money_order.payment_method.view.money_order:
        class: 'Oro\Bundle\MoneyOrderBundle\Method\View\MoneyOrderView'
        public: false
        arguments:
            - '@oro_money_order.payment_method.money_order.config'
        tags:
            - { name: oro_payment.payment_method_view }
