ECPayInvoice.InvoiceNotification (ecpay_invoice v0.0.1-alpha6)
Link to this section Summary
Functions
Callback implementation for ECPayInvoice.Request.endpoint/0
.
Callback implementation for ECPayInvoice.Request.to_api_payload/2
.
Link to this section Types
Link to this type
event_type()
Specs
event_type() :: :issued | :voided | :won | :allowance | :allowance_voided
Link to this type
notification_recipient()
Specs
notification_recipient() :: :customer | :merchant | :all
Specs
t() :: %ECPayInvoice.InvoiceNotification{ email: String.t() | nil, event_type: event_type(), invoice_no: String.t() | nil, notification_recipient: notification_recipient(), phone: String.t() | nil }
Link to this section Functions
Link to this function
endpoint()
Callback implementation for ECPayInvoice.Request.endpoint/0
.
Link to this function
new(attrs \\ %{})
Link to this function
new_from_invoice_response(map)
Link to this function
to_api_payload(notification, profile \\ :staging)
Callback implementation for ECPayInvoice.Request.to_api_payload/2
.