Overview
Summary
Contact
Donate
Imprint
Prompt for the
PaymentMethodView
Please create a React-JS view called "PaymentMethodView" for the fields of the PaymentMethod entity. The PaymentMethodView must contain the following fields: - name: BillingCountry type: STRING - name: BillingZip type: STRING - name: ExpiryMonth type: INT - name: ExpiryYear type: INT - name: MaskedAccountNumber type: STRING - name: MethodType type: STRING - name: PlatformUser type: PlatformUser - name: Provider type: STRING - name: Status type: STRING The data source for the [PlatformUser] select control should be loaded from the relative URL: "/PlatformUserService/platformuser" (HTTP-GET) An existing PaymentMethod entity should be loaded from the relative URL: "/PlatformUserService/paymentmethod/{id}" (HTTP-GET) If a new PaymentMethod entity has been created, the new entity should be posted to the relative URL: "/PlatformUserService/paymentmethod" (HTTP-POST) If an existing PaymentMethod entity has been updated, the modified entity should be sent to the relative URL: "/PlatformUserService/paymentmethod/{id}" (HTTP-PUT) If an existing PaymentMethod entity has to be deleted, the following relative URL should be called: "/PlatformUserService/paymentmethod/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TripPayment columns: - column: Amount - column: RefundAmount - column: RefundCurrency - column: Currency - column: CapturedAt - column: Trip - column: PaymentMethod The table should have the title "TripPayments" und the data must be loaded from the server with the following relative URL: "/VehicleService/trippayment/paymentmethod/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint