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: Currency type: STRING - name: Description type: STRING - name: PaidAt type: STRING - name: PaymentMethod type: PaymentMethod - name: Status type: STRING - name: Subscription type: Subscription - name: User type: User The data source for the [User] select control should be loaded from the relative URL: "/UserService/user" (HTTP-GET) The data source for the [PaymentMethod] select control should be loaded from the relative URL: "/UserService/paymentmethod" (HTTP-GET) The data source for the [Subscription] select control should be loaded from the relative URL: "/SeasonService/subscription" (HTTP-GET) An existing Payment entity should be loaded from the relative URL: "/UserService/payment/{id}" (HTTP-GET) If a new Payment entity has been created, the new entity should be posted to the relative URL: "/UserService/payment" (HTTP-POST) If an existing Payment entity has been updated, the modified entity should be sent to the relative URL: "/UserService/payment/{id}" (HTTP-PUT) If an existing Payment entity has to be deleted, the following relative URL should be called: "/UserService/payment/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint