Sylius/tests/DataFixtures/ORM/resources/payment_methods.yml
2017-07-26 10:27:36 +02:00

34 lines
992 B
YAML

Sylius\Component\Core\Model\PaymentMethod:
cash_on_delivery:
code: cod
enabled: true
gatewayConfig: "@offline"
currentLocale: en_US
translations:
- "@cash_on_delivery_translation1"
channels: ["@channel_web"]
pay_by_check:
code: pbc
enabled: true
gatewayConfig: "@offline"
translations:
- "@pay_by_check_translation1"
channels: ["@channel_web"]
Sylius\Bundle\PayumBundle\Model\GatewayConfig:
offline:
gatewayName: "Offline"
factoryName: "offline"
config: []
Sylius\Component\Payment\Model\PaymentMethodTranslation:
cash_on_delivery_translation1:
name: "Cash on delivery"
locale: "en_US"
description: <paragraph(2)>
translatable: "@cash_on_delivery"
pay_by_check_translation1:
name: "Pay by check"
locale: "en_US"
description: <paragraph(2)>
translatable: "@pay_by_check"