Overview
Summary
Contact
Donate
Imprint
Prompt for the
PaymentView
Please create a React-JS view called "PaymentView" for the fields of the Payment entity. The PaymentView must contain the following fields: - name: Amount type: STRING - name: Booking type: Booking - name: CreatedAt type: DATE - name: Currency type: Currency - name: PaymentMethod type: PaymentMethod - name: ProcessedAt type: DATE - name: ProviderReference type: STRING - name: Status type: STRING The data source for the [Currency] select control should be loaded from the relative URL: "/CurrencyService/currency" (HTTP-GET) The data source for the [PaymentMethod] select control should be loaded from the relative URL: "/UserAccountService/paymentmethod" (HTTP-GET) The data source for the [Booking] select control should be loaded from the relative URL: "/BookingService/booking" (HTTP-GET) An existing Payment entity should be loaded from the relative URL: "/CurrencyService/payment/{id}" (HTTP-GET) If a new Payment entity has been created, the new entity should be posted to the relative URL: "/CurrencyService/payment" (HTTP-POST) If an existing Payment entity has been updated, the modified entity should be sent to the relative URL: "/CurrencyService/payment/{id}" (HTTP-PUT) If an existing Payment entity has to be deleted, the following relative URL should be called: "/CurrencyService/payment/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint