Sylius/tests/Api/DataFixtures/ORM/channel.yaml

62 lines
1.9 KiB
YAML

Sylius\Component\Core\Model\Channel:
channel_web:
code: 'WEB'
name: 'Web Channel'
hostname: 'localhost'
contactEmail: 'web@sylius.com'
description: 'Lorem ipsum'
baseCurrency: '@currency_usd'
defaultLocale: '@locale_en'
locales: ['@locale_en', '@locale_pl']
color: 'black'
enabled: true
taxCalculationStrategy: 'order_items_based'
channelPriceHistoryConfig: '@web_price_history_config'
shopBillingData: '@another_billing_data'
channel_mobile:
code: 'MOBILE'
name: 'Mobile Channel'
hostname: 'localhost'
contactEmail: 'mobile@sylius.com'
description: 'Lorem ipsum'
baseCurrency: '@currency_usd'
defaultLocale: '@locale_en'
locales: ['@locale_en', '@locale_pl']
color: 'black'
enabled: true
taxCalculationStrategy: 'order_items_based'
channelPriceHistoryConfig: '@mobile_price_history_config'
shopBillingData: '@billing_data'
Sylius\Component\Core\Model\ChannelPriceHistoryConfig:
web_price_history_config:
lowestPriceForDiscountedProductsVisible: false
mobile_price_history_config:
lowestPriceForDiscountedProductsCheckingPeriod: 25
lowestPriceForDiscountedProductsVisible: true
Sylius\Component\Currency\Model\Currency:
currency_usd:
code: 'USD'
Sylius\Component\Core\Model\ShopBillingData:
billing_data:
company: 'Sylius'
taxId: 'PL1234567890'
street: 'Wall Street 1'
city: 'New York'
postcode: '00-000'
another_billing_data:
company: 'Another company'
taxId: 'PL123423190'
street: 'Wall Street 2'
city: 'New York'
postcode: '01-000'
Sylius\Component\Locale\Model\Locale:
locale_en:
code: 'en_US'
locale_pl:
code: 'pl_PL'
locale_de:
code: 'de_DE'