Class: C2eCore::Drops::InvoicePromoDrop
- Defined in:
- /build/app/mailers/c2e_core/drops/invoice_promo_drop.rb
Instance Method Summary collapse
-
#description ⇒ String?
-
Description in the Order Language or CompanyBranch’s default language.
-
-
#initialize(invoice_promo) ⇒ InvoicePromoDrop
constructor
A new instance of InvoicePromoDrop.
-
#qr_code ⇒ String?
-
QR code as a data URL, e.g.:
"data:image/png;base64,iVBO...", with a width of 400px.
-
Constructor Details
#initialize(invoice_promo) ⇒ InvoicePromoDrop
Returns a new instance of InvoicePromoDrop.
Instance Method Details
#description ⇒ String?
-
Description in the Order Language or CompanyBranch’s default language.
nullis
returned when description is not configured.
#qr_code ⇒ String?
Returns - QR code as a data URL, e.g.: "data:image/png;base64,iVBO...", with a width of 400px. null is returned when QR code link is not configured.