View Source StarkInfra.CreditNote.Invoice.Discount (starkinfra v0.1.0)

Groups Discount related functions

Link to this section Summary

Link to this section Types

@type t() :: %StarkInfra.CreditNote.Invoice.Discount{due: term(), percentage: term()}

Link to this section Functions

Link to this function

%StarkInfra.CreditNote.Invoice.Discount{}

View Source (struct)

Invoice discount information.

parameters-required

Parameters (required):

  • :percentage [float]: percentage of discount applied until specified due date
  • :due [DateTime, Date or string]: due datetime for the discount