Overview
Summary
Contact
Donate
Imprint
Prompt for the
TripPaymentView
Please create a React-JS view called "TripPaymentView" for the fields of the TripPayment entity. The TripPaymentView must contain the following fields: - name: Amount type: DOUBLE - name: CapturedAt type: STRING - name: Currency type: STRING - name: PaymentMethod type: PaymentMethod - name: RefundAmount type: DOUBLE - name: RefundCurrency type: STRING - name: Trip type: Trip The data source for the [Trip] select control should be loaded from the relative URL: "/VehicleService/trip" (HTTP-GET) The data source for the [PaymentMethod] select control should be loaded from the relative URL: "/PlatformUserService/paymentmethod" (HTTP-GET) An existing TripPayment entity should be loaded from the relative URL: "/VehicleService/trippayment/{id}" (HTTP-GET) If a new TripPayment entity has been created, the new entity should be posted to the relative URL: "/VehicleService/trippayment" (HTTP-POST) If an existing TripPayment entity has been updated, the modified entity should be sent to the relative URL: "/VehicleService/trippayment/{id}" (HTTP-PUT) If an existing TripPayment entity has to be deleted, the following relative URL should be called: "/VehicleService/trippayment/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint