Log in
Model

Cashondelivery

Magento\OfflinePayments\Model\Cashondelivery

What it does

This class implements the Cash on Delivery payment method for Magento 2.

Developers would use this class as a reference when creating custom offline payment methods or when needing to customize the Cash on Delivery payment behavior.

It extends the abstract payment method class and provides configuration for displaying payment forms and instructions to customers.

Public Methods

  • getInstructions()