Overview
Summary
Contact
Donate
Imprint
Prompt for the
PaymentTransactionView
Please create a React-JS view called "PaymentTransactionView" for the fields of the PaymentTransaction entity. The PaymentTransactionView must contain the following fields: - name: Amount type: DOUBLE - name: CreatedAt type: DATE - name: Currency type: STRING - name: CustomerOrder type: Customer - name: PaymentMethod type: PaymentMethod - name: Provider type: STRING - name: ProviderReference type: STRING - name: Status type: STRING - name: UpdatedAt type: DATE The data source for the [CustomerOrder] select control should be loaded from the relative URL: "/CustomerService/customer" (HTTP-GET) The data source for the [PaymentMethod] select control should be loaded from the relative URL: "/CustomerService/paymentmethod" (HTTP-GET) An existing PaymentTransaction entity should be loaded from the relative URL: "/CustomerService/paymenttransaction/{id}" (HTTP-GET) If a new PaymentTransaction entity has been created, the new entity should be posted to the relative URL: "/CustomerService/paymenttransaction" (HTTP-POST) If an existing PaymentTransaction entity has been updated, the modified entity should be sent to the relative URL: "/CustomerService/paymenttransaction/{id}" (HTTP-PUT) If an existing PaymentTransaction entity has to be deleted, the following relative URL should be called: "/CustomerService/paymenttransaction/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Refund columns: - column: ReturnRequest - column: Amount - column: CreatedAt - column: PaymentTransaction - column: Currency The table should have the title "Refunds" und the data must be loaded from the server with the following relative URL: "/ReturnRequestService/refund/paymenttransaction/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint