InvoiceActions

InvoiceActions React Component for displaying the actionable data on the invoice section on the orders sideview

Source:

Extends

  • Component

Members

(inner) InvoiceActions propTypes

React component for displaying the actionable data on the invoice section on the orders sideview

Source:
Properties:
Name Type Description
invoice Object

An object representing an invoice

refunds Array

An array/list of refunds

handleApprove function

A function for approving payments

handleCapturePayment function

A function for capturing payments

handleRefund function

A function for refunding payments

currency Object

A object represting current shop currency details

printOrder String

A string representing the route/path for printed order

adjustedTotal Number

The calculated adjusted total after refunds/discounts

paymentCaptured Bool

A boolean indicating whether payment has been captured

hasRefundingEnabled Bool

A boolean indicating whether payment supports refunds

paymentApproved Bool

A boolean indicating whether payment has been approved

paymentPendingApproval Bool

A boolean indicating whether payment is yet to be approved

showAfterPaymentCaptured Bool

A boolean indicating that status of the order is completed

isCapturing Bool

A boolean indicating whether payment is being captured

isRefunding Bool

A boolean indicating whether payment is being refunded