astronom / fiscal-ofd
E-com order contract. Simplify integration with payment providers witch support fiscal data operators
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/astronom/fiscal-ofd
Requires
- php: ^7.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.13
This package is auto-updated.
Last update: 2025-11-06 12:13:20 UTC
README
This library contains all necessary interfaces for E-commerce order receipt.
Simplify integration with payment providers witch support fiscal data operators. Compatible with current OFD v1.05
Requirements
php ^7.1
Minimum interfaces implementation required
Interfaces
Fiscal\OFD\OrderInterface- Base order interfaceFiscal\OFD\OrderDeliverableInterface- Apply this interface to your Order class (i.e. model) if you provide any delivery information.Fiscal\OFD\CustomerInterface- Apply this interface to your Customer class (i.e. model).Fiscal\OFD\LoyaltiesInterface- Apply this interface to your Loyalties class (i.e. model).Fiscal\OFD\OrderItemInterface- Apply this interface to your Order item class (i.e. model).Fiscal\OFD\OrderItemNomenclatureInterface- Apply this interface to your Order item class (i.e. model) if you want to provide order item nomenclature data.Fiscal\OFD\OrderItemPaymentInterface- Apply this interface to your Order item class (i.e. model). If you want to provide payment method and payment object data.Fiscal\OFD\OrderItemAgentInfoInterface- Apply this interface to your Order item class (i.e. model) if you have any agent payments.Fiscal\OFD\OrderItemAgentInterestInterface- Apply this interface to your Order item class (i.e. model) if you have any agent interest.Fiscal\OFD\OrderItemDetailsInterface- Apply this interface to your Order item class (i.e. model) if you want to provide any order item details.Fiscal\OFD\OrderItemDiscountInterface- Apply this interface to your Order item class (i.e. model) if you have any discount programs.Fiscal\OFD\OrderItemTaxableInterface- Apply this interface to your Order item class (i.e. model). If you want to provide any taxable data.Fiscal\OFD\OrderItemUserDataInterface- Apply this interface to your Order item class (i.e. model). If you want to provide any user data.