Overview
Summary
Contact
Donate
Imprint
Prompt for the
FundingSourceApp
Please create a React-JS application for the FundingSourceModule. The application has to offer the following views for the user interface: 1. DisputeView 2. FundingSourceView 3. PaymentCardView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The DisputeView must contain the following fields: - name: BuyerUserAccount type: LONG - name: ClosedAt type: DATE - name: OpenedAt type: DATE - name: OpenedByUserAccount type: LONG - name: Reason type: STRING - name: Resolution type: STRING - name: SellerUserAccount type: LONG - name: Status type: STRING - name: Transaction type: Transaction - name: Type type: STRING The data source for the [Transaction] select control should be loaded from the relative URL: "/TransactionService/transaction" (HTTP-GET) An existing Dispute entity should be loaded from the relative URL: "/FundingSourceService/dispute/{id}" (HTTP-GET) If a new Dispute entity has been created, the new entity should be posted to the relative URL: "/FundingSourceService/dispute" (HTTP-POST) If an existing Dispute entity has been updated, the modified entity should be sent to the relative URL: "/FundingSourceService/dispute/{id}" (HTTP-PUT) If an existing Dispute entity has to be deleted, the following relative URL should be called: "/FundingSourceService/dispute/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SupportCase columns: - column: Description - column: Status - column: Subject - column: Channel - column: Dispute - column: UserAccount - column: ClosedAt - column: Transaction - column: OpenedAt - column: SecurityIncident The table should have the title "SupportCases" und the data must be loaded from the server with the following relative URL: "/UserAccountService/supportcase/dispute/{id}" 2. The FundingSourceView must contain the following fields: - name: CreatedAt type: DATE - name: LastUsedAt type: DATE - name: Status type: STRING - name: Type type: STRING - name: UserAccount type: UserAccount The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing FundingSource entity should be loaded from the relative URL: "/FundingSourceService/fundingsource/{id}" (HTTP-GET) If a new FundingSource entity has been created, the new entity should be posted to the relative URL: "/FundingSourceService/fundingsource" (HTTP-POST) If an existing FundingSource entity has been updated, the modified entity should be sent to the relative URL: "/FundingSourceService/fundingsource/{id}" (HTTP-PUT) If an existing FundingSource entity has to be deleted, the following relative URL should be called: "/FundingSourceService/fundingsource/{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/fundingsource/{id}" Add a HTML table to the view with the following PaymentCard columns: - column: VerifiedAt - column: ExpiryMonth - column: CardNetwork - column: FundingSource - column: Country - column: ExpiryYear - column: CardholderName - column: Last4 The table should have the title "PaymentCards" und the data must be loaded from the server with the following relative URL: "/FundingSourceService/paymentcard/fundingsource/{id}" Add a HTML table to the view with the following BankAccount columns: - column: FundingSource - column: BankName - column: AccountNumberMasked - column: Bic - column: Country - column: VerifiedAt - column: Iban The table should have the title "BankAccounts" und the data must be loaded from the server with the following relative URL: "/CountryService/bankaccount/fundingsource/{id}" Add a HTML table to the view with the following PaymentMethod columns: - column: Priority - column: MethodType - column: FundingSource - column: IsDefault - column: UserAccount - column: Label The table should have the title "PaymentMethods" und the data must be loaded from the server with the following relative URL: "/SubscriptionService/paymentmethod/fundingsource/{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/fundingsource/{id}" 3. The PaymentCardView must contain the following fields: - name: CardholderName type: STRING - name: CardNetwork type: STRING - name: Country type: Country - name: ExpiryMonth type: INT - name: ExpiryYear type: INT - name: FundingSource type: FundingSource - name: Last4 type: STRING - name: VerifiedAt type: DATE The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [FundingSource] select control should be loaded from the relative URL: "/FundingSourceService/fundingsource" (HTTP-GET) An existing PaymentCard entity should be loaded from the relative URL: "/FundingSourceService/paymentcard/{id}" (HTTP-GET) If a new PaymentCard entity has been created, the new entity should be posted to the relative URL: "/FundingSourceService/paymentcard" (HTTP-POST) If an existing PaymentCard entity has been updated, the modified entity should be sent to the relative URL: "/FundingSourceService/paymentcard/{id}" (HTTP-PUT) If an existing PaymentCard entity has to be deleted, the following relative URL should be called: "/FundingSourceService/paymentcard/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint