diff --git a/Gateway/Request/LineItemsDataBuilder.php b/Gateway/Request/LineItemsDataBuilder.php index 979e5738a..c33a8f08d 100644 --- a/Gateway/Request/LineItemsDataBuilder.php +++ b/Gateway/Request/LineItemsDataBuilder.php @@ -21,13 +21,17 @@ class LineItemsDataBuilder implements BuilderInterface { + /** + * @param PaymentMethods $paymentMethodsHelper + * @param OpenInvoice $openInvoiceHelper + */ public function __construct( private readonly PaymentMethods $paymentMethodsHelper, private readonly OpenInvoice $openInvoiceHelper ) { } /** - * Add delivery\billing details into request + * Add `lineItems` to the request if the payment method requires this field * * @param array $buildSubject * @return array