Overview
Summary
Contact
Donate
Imprint
Prompt for the
CurrencyApp
Please create a React-JS application for the CurrencyModule. The application has to offer the following views for the user interface: 1. CurrencyView 2. FeeView 3. FeeScheduleView 4. InvoiceView 5. InvoiceItemView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The CurrencyView must contain the following fields: - name: Code type: STRING - name: IsCrypto type: BOOL - name: Name type: STRING - name: Symbol type: STRING An existing Currency entity should be loaded from the relative URL: "/CurrencyService/currency/{id}" (HTTP-GET) If a new Currency entity has been created, the new entity should be posted to the relative URL: "/CurrencyService/currency" (HTTP-POST) If an existing Currency entity has been updated, the modified entity should be sent to the relative URL: "/CurrencyService/currency/{id}" (HTTP-PUT) If an existing Currency entity has to be deleted, the following relative URL should be called: "/CurrencyService/currency/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SubscriptionPayment columns: - column: Transaction - column: Subscription - column: ChargeDate - column: Amount - column: Status - column: Currency The table should have the title "SubscriptionPayments" und the data must be loaded from the server with the following relative URL: "/SubscriptionService/subscriptionpayment/currency/{id}" Add a HTML table to the view with the following SubscriptionPlan columns: - column: BillingFrequency - column: Amount - column: Status - column: TrialDays - column: Description - column: Merchant - column: Currency - column: Name - column: BillingInterval The table should have the title "SubscriptionPlans" und the data must be loaded from the server with the following relative URL: "/SubscriptionService/subscriptionplan/currency/{id}" Add a HTML table to the view with the following Transaction columns: - column: CompletedAt - column: SenderUserAccount - column: ReceiverUserAccount - column: CreatedAt - column: Merchant - column: Status - column: Type - column: NetAmount - column: FundingSource - column: Amount - column: FeeAmount - column: ExternalReference - column: Currency The table should have the title "Transactions" und the data must be loaded from the server with the following relative URL: "/TransactionService/transaction/currency/{id}" Add a HTML table to the view with the following Refund columns: - column: Transaction - column: UserAccount - column: CreatedAt - column: Amount - column: Currency - column: Reason - column: Status - column: CompletedAt The table should have the title "Refunds" und the data must be loaded from the server with the following relative URL: "/UserAccountService/refund/currency/{id}" Add a HTML table to the view with the following Fee columns: - column: Type - column: Currency - column: FeeSchedule - column: Description - column: Amount The table should have the title "Fees" und the data must be loaded from the server with the following relative URL: "/CurrencyService/fee/currency/{id}" Add a HTML table to the view with the following Invoice columns: - column: BilledUserAccount - column: IssueDate - column: Transaction - column: Notes - column: TotalAmount - column: DueDate - column: Status - column: Merchant - column: Currency - column: Number The table should have the title "Invoices" und the data must be loaded from the server with the following relative URL: "/CurrencyService/invoice/currency/{id}" Add a HTML table to the view with the following FeeSchedule columns: - column: Name - column: MinimumFeeAmount - column: EffectiveTo - column: EffectiveFrom - column: Description - column: FixedFeeAmount - column: PercentageFee - column: Currency - column: MaximumFeeAmount The table should have the title "FeeSchedules" und the data must be loaded from the server with the following relative URL: "/CurrencyService/feeschedule/currency/{id}" Add a HTML table to the view with the following AccountBalance columns: - column: LastUpdatedAt - column: PendingAmount - column: UserAccount - column: Currency - column: AvailableAmount The table should have the title "AccountBalances" und the data must be loaded from the server with the following relative URL: "/UserDeviceService/accountbalance/currency/{id}" Add a HTML table to the view with the following Chargeback columns: - column: Currency - column: Amount - column: OpenedAt - column: ClosedAt - column: UserAccount - column: Transaction - column: Status - column: ReasonCode The table should have the title "Chargebacks" und the data must be loaded from the server with the following relative URL: "/UserDeviceService/chargeback/currency/{id}" Add a HTML table to the view with the following Payout columns: - column: Status - column: TotalAmount - column: CompletedAt - column: UserAccount - column: CreatedAt - column: Currency - column: FundingSource The table should have the title "Payouts" und the data must be loaded from the server with the following relative URL: "/UserAccountService/payout/currency/{id}" 2. The FeeView must contain the following fields: - name: Amount type: DOUBLE - name: Currency type: Currency - name: Description type: STRING - name: FeeSchedule type: FeeSchedule - name: Type 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 [FeeSchedule] select control should be loaded from the relative URL: "/CurrencyService/feeschedule" (HTTP-GET) An existing Fee entity should be loaded from the relative URL: "/CurrencyService/fee/{id}" (HTTP-GET) If a new Fee entity has been created, the new entity should be posted to the relative URL: "/CurrencyService/fee" (HTTP-POST) If an existing Fee entity has been updated, the modified entity should be sent to the relative URL: "/CurrencyService/fee/{id}" (HTTP-PUT) If an existing Fee entity has to be deleted, the following relative URL should be called: "/CurrencyService/fee/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Transaction columns: - column: CompletedAt - column: SenderUserAccount - column: ReceiverUserAccount - column: CreatedAt - column: Merchant - column: Status - column: Type - column: NetAmount - column: FundingSource - column: Amount - column: FeeAmount - column: ExternalReference - column: Currency The table should have the title "Transactions" und the data must be loaded from the server with the following relative URL: "/TransactionService/transaction/feeamount/{id}" 3. The FeeScheduleView must contain the following fields: - name: Currency type: Currency - name: Description type: STRING - name: EffectiveFrom type: DATE - name: EffectiveTo type: DATE - name: FixedFeeAmount type: DOUBLE - name: MaximumFeeAmount type: DOUBLE - name: MinimumFeeAmount type: DOUBLE - name: Name type: STRING - name: PercentageFee type: DOUBLE The data source for the [Currency] select control should be loaded from the relative URL: "/CurrencyService/currency" (HTTP-GET) An existing FeeSchedule entity should be loaded from the relative URL: "/CurrencyService/feeschedule/{id}" (HTTP-GET) If a new FeeSchedule entity has been created, the new entity should be posted to the relative URL: "/CurrencyService/feeschedule" (HTTP-POST) If an existing FeeSchedule entity has been updated, the modified entity should be sent to the relative URL: "/CurrencyService/feeschedule/{id}" (HTTP-PUT) If an existing FeeSchedule entity has to be deleted, the following relative URL should be called: "/CurrencyService/feeschedule/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fee columns: - column: Type - column: Currency - column: FeeSchedule - column: Description - column: Amount The table should have the title "Fees" und the data must be loaded from the server with the following relative URL: "/CurrencyService/fee/feeschedule/{id}" 4. The InvoiceView must contain the following fields: - name: BilledUserAccount type: LONG - name: Currency type: Currency - name: DueDate type: DATE - name: IssueDate type: DATE - name: Merchant type: Merchant - name: Notes type: STRING - name: Number type: STRING - name: Status type: STRING - name: TotalAmount type: DOUBLE - name: Transaction type: Transaction The data source for the [Merchant] select control should be loaded from the relative URL: "/MerchantService/merchant" (HTTP-GET) The data source for the [Transaction] select control should be loaded from the relative URL: "/TransactionService/transaction" (HTTP-GET) The data source for the [Currency] select control should be loaded from the relative URL: "/CurrencyService/currency" (HTTP-GET) An existing Invoice entity should be loaded from the relative URL: "/CurrencyService/invoice/{id}" (HTTP-GET) If a new Invoice entity has been created, the new entity should be posted to the relative URL: "/CurrencyService/invoice" (HTTP-POST) If an existing Invoice entity has been updated, the modified entity should be sent to the relative URL: "/CurrencyService/invoice/{id}" (HTTP-PUT) If an existing Invoice entity has to be deleted, the following relative URL should be called: "/CurrencyService/invoice/{id}" (HTTP-DELETE) Add a HTML table to the view with the following InvoiceItem columns: - column: Invoice - column: Name - column: UnitAmount - column: Quantity - column: TaxAmount - column: Description The table should have the title "InvoiceItems" und the data must be loaded from the server with the following relative URL: "/CurrencyService/invoiceitem/invoice/{id}" 5. The InvoiceItemView must contain the following fields: - name: Description type: STRING - name: Invoice type: Invoice - name: Name type: STRING - name: Quantity type: DOUBLE - name: TaxAmount type: DOUBLE - name: UnitAmount type: DOUBLE The data source for the [Invoice] select control should be loaded from the relative URL: "/CurrencyService/invoice" (HTTP-GET) An existing InvoiceItem entity should be loaded from the relative URL: "/CurrencyService/invoiceitem/{id}" (HTTP-GET) If a new InvoiceItem entity has been created, the new entity should be posted to the relative URL: "/CurrencyService/invoiceitem" (HTTP-POST) If an existing InvoiceItem entity has been updated, the modified entity should be sent to the relative URL: "/CurrencyService/invoiceitem/{id}" (HTTP-PUT) If an existing InvoiceItem entity has to be deleted, the following relative URL should be called: "/CurrencyService/invoiceitem/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint