Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BenefitsSavebackExecution01 = tests.TestCase{ ResponseJSON: `{ "id": "73fc417a-62ef-4179-a85e-9f3b29224567", "sections": [ { "action": null, "data": { "icon": "logos/XF000DOT0011/v2", "status": "executed", "subtitleText": null, "timestamp": "2024-03-22T18:15:06.448+0000" }, "title": "Dein Bonus von 15,00 € wurde investiert", "type": "header" }, { "action": null, "data": [ { "detail": { "functionalStyle": "EXECUTED", "text": "Ausgeführt", "type": "status" }, "style": "plain", "title": "Status" }, { "detail": { "action": null, "text": "Saveback", "trend": null, "type": "text" }, "style": "plain", "title": "Auftragsart" }, { "detail": { "action": null, "text": "Polkadot", "trend": null, "type": "text" }, "style": "plain", "title": "Asset" } ], "title": "Übersicht", "type": "table" }, { "action": null, "data": [ { "detail": { "action": null, "text": "2.270212", "trend": null, "type": "text" }, "style": "plain", "title": "Aktien" }, { "detail": { "action": null, "text": "6,61 €", "trend": null, "type": "text" }, "style": "plain", "title": "Aktienkurs" }, { "detail": { "action": null, "text": "Kostenlos", "trend": null, "type": "text" }, "style": "plain", "title": "Gebühr" }, { "detail": { "action": null, "text": "15,00 €", "trend": null, "type": "text" }, "style": "highlighted", "title": "Gesamt" } ], "title": "Transaktion", "type": "table" }, { "action": null, "data": [ { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", "type": "browserModal" }, "detail": "22.03.2024", "id": "3a54ce6c-7bf7-4db5-a79e-5c24dbc71594", "postboxType": "SAVINGS_PLAN_EXECUTED_V2", "title": "Abrechnung Ausführung" }, { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", "type": "browserModal" }, "detail": "21.03.2024", "id": "70776ac6-b87e-4c73-a8cb-558466234f0d", "postboxType": "COSTS_INFO_SAVINGS_PLAN_V2", "title": "Kosteninformation" } ], "title": "Dokumente", "type": "documents" } ] }`, EventType: transactions.EventTypeBenefitsSavebackExecution, Transaction: transaction.Model{ UUID: "73fc417a-62ef-4179-a85e-9f3b29224567", Instrument: transaction.Instrument{ ISIN: "XF000DOT0011", Name: "Polkadot", Icon: "logos/XF000DOT0011/v2", }, Type: transaction.TypeSaveback, Status: "executed", Shares: 2.270212, Rate: 6.61, Total: 15, Documents: []document.Model{ { ID: "3a54ce6c-7bf7-4db5-a79e-5c24dbc71594", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Date: "22.03.2024", Title: "Abrechnung Ausführung", }, { ID: "70776ac6-b87e-4c73-a8cb-558466234f0d", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Date: "21.03.2024", Title: "Kosteninformation", }, }, }, CSVEntry: filesystem.CSVEntry{ ID: "73fc417a-62ef-4179-a85e-9f3b29224567", Status: "executed", Type: "Saveback", AssetType: "Cryptocurrency", Name: "Polkadot", Instrument: "XF000DOT0011", Shares: 2.270212, Rate: 6.61, }, }
View Source
var BenefitsSpareChangeExecution01 = tests.TestCase{ ResponseJSON: `{ "id": "265cb9c0-664a-45d4-b179-3061f196dd2a", "sections": [ { "action": { "payload": "DE000A0F5UF5", "type": "instrumentDetail" }, "data": { "icon": "logos/DE000A0F5UF5/v2", "status": "executed", "timestamp": "2024-01-04T12:26:52.110+0000" }, "title": "Du hast 1,09 € investiert", "type": "header" }, { "data": [ { "detail": { "functionalStyle": "EXECUTED", "text": "Ausgeführt", "type": "status" }, "style": "plain", "title": "Status" }, { "detail": { "text": "Round up", "type": "text" }, "style": "plain", "title": "Ordertyp" }, { "detail": { "text": "NASDAQ100 USD (Dist)", "type": "text" }, "style": "plain", "title": "Asset" } ], "title": "Übersicht", "type": "table" }, { "data": [ { "detail": { "text": "0.006882", "type": "text" }, "style": "plain", "title": "Aktien" }, { "detail": { "text": "158,38 €", "type": "text" }, "style": "plain", "title": "Aktienkurs" }, { "detail": { "text": "Kostenlos", "type": "text" }, "style": "plain", "title": "Gebühr" }, { "detail": { "text": "1,09 €", "type": "text" }, "style": "plain", "title": "Gesamt" } ], "title": "Transaktion", "type": "table" }, { "data": [ { "action": { "payload": "https://traderepublic-postbox-platform-production.s3.eu-central-1.amazonaws.com/timeline/postbox", "type": "browserModal" }, "id": "9df4c2e1-0de2-4900-aa8c-af5371ed58f6", "postboxType": "BENEFIT_DEACTIVATED", "title": "Deaktivierung" }, { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", "type": "browserModal" }, "id": "3a8ebf86-a2bb-463e-8bfd-28fd705359ff", "postboxType": "SAVINGS_PLAN_EXECUTED_V2", "title": "Abrechnung Ausführung" }, { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", "type": "browserModal" }, "id": "e2dfa755-e039-45c7-b7bb-1ac024844f75", "postboxType": "COSTS_INFO_SAVINGS_PLAN_V2", "title": "Kosteninformation" } ], "title": "Documents", "type": "documents" } ] }`, Response: tests.Response{ HeaderSection: details.ResponseSectionTypeHeader{ Action: details.ResponseAction{ Payload: "DE000A0F5UF5", Type: "instrumentDetail", }, Data: details.ResponseSectionTypeHeaderData{ Icon: "logos/DE000A0F5UF5/v2", Status: "executed", Timestamp: "2024-01-04T12:26:52.110+0000", }, Title: "Du hast 1,09 € investiert", Type: "header", }, TableSections: details.ResponseSectionsTypeTable{ { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ FunctionalStyle: "EXECUTED", Text: "Ausgeführt", Type: "status", }, Style: "plain", Title: "Status", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "Round up", Type: "text", }, Style: "plain", Title: "Ordertyp", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "NASDAQ100 USD (Dist)", Type: "text", }, Style: "plain", Title: "Asset", }, }, Title: "Übersicht", Type: "table", }, { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "0.006882", Type: "text", }, Style: "plain", Title: "Aktien", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "158,38 €", Type: "text", }, Style: "plain", Title: "Aktienkurs", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "Kostenlos", Type: "text", }, Style: "plain", Title: "Gebühr", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "1,09 €", Type: "text", }, Style: "plain", Title: "Gesamt", }, }, Title: "Transaktion", Type: "table", }, }, DocumentsSection: details.ResponseSectionTypeDocuments{ Data: []details.ResponseSectionTypeDocumentData{ { Action: details.ResponseAction{ Payload: "https://traderepublic-postbox-platform-production.s3.eu-central-1.amazonaws.com/timeline/postbox", Type: "browserModal", }, ID: "9df4c2e1-0de2-4900-aa8c-af5371ed58f6", PostboxType: "BENEFIT_DEACTIVATED", Title: "Deaktivierung", }, { Action: details.ResponseAction{ Payload: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", Type: "browserModal", }, ID: "3a8ebf86-a2bb-463e-8bfd-28fd705359ff", PostboxType: "SAVINGS_PLAN_EXECUTED_V2", Title: "Abrechnung Ausführung", }, { Action: details.ResponseAction{ Payload: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", Type: "browserModal", }, ID: "e2dfa755-e039-45c7-b7bb-1ac024844f75", PostboxType: "COSTS_INFO_SAVINGS_PLAN_V2", Title: "Kosteninformation", }, }, Title: "Documents", Type: "documents", }, }, EventType: transactions.EventTypeBenefitsSpareChangeExecution, Transaction: transaction.Model{ UUID: "265cb9c0-664a-45d4-b179-3061f196dd2a", Instrument: transaction.Instrument{ ISIN: "DE000A0F5UF5", Name: "NASDAQ100 USD (Dist)", Icon: "logos/DE000A0F5UF5/v2", }, Type: transaction.TypeRoundUp, Status: "executed", Shares: 0.006882, Rate: 158.38, Total: 1.09, Documents: []document.Model{ { ID: "9df4c2e1-0de2-4900-aa8c-af5371ed58f6", URL: "https://traderepublic-postbox-platform-production.s3.eu-central-1.amazonaws.com/timeline/postbox", Title: "Deaktivierung", }, { ID: "3a8ebf86-a2bb-463e-8bfd-28fd705359ff", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", Title: "Abrechnung Ausführung", }, { ID: "e2dfa755-e039-45c7-b7bb-1ac024844f75", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", Title: "Kosteninformation", }, }, }, CSVEntry: filesystem.CSVEntry{ ID: "265cb9c0-664a-45d4-b179-3061f196dd2a", Status: "executed", Type: "Round up", AssetType: "ETF", Name: "NASDAQ100 USD (Dist)", Instrument: "DE000A0F5UF5", Shares: 0.006882, Rate: 158.38, Debit: 1.09, }, }
View Source
var Credit01 = tests.TestCase{ ResponseJSON: `{ "id": "23cf72a9-3888-4918-898c-c3bc38346ba1", "sections": [ { "action": null, "data": { "icon": "logos/IE00BK1PV551/v2", "status": "executed", "subtitleText": null, "timestamp": "2023-12-13T12:44:28.857+0000" }, "title": "Du hast 2,94 € erhalten", "type": "header" }, { "action": null, "data": [ { "detail": { "action": null, "text": "Ausschüttung", "trend": null, "type": "text" }, "style": "plain", "title": "Ereignis" }, { "detail": { "action": null, "text": "MSCI World USD (Dist)", "trend": null, "type": "text" }, "style": "plain", "title": "Asset" } ], "title": "Übersicht", "type": "table" }, { "action": null, "data": [ { "detail": { "action": null, "text": "10,344033", "trend": null, "type": "text" }, "style": "plain", "title": "Anteile" }, { "detail": { "action": null, "text": "0,28 €", "trend": null, "type": "text" }, "style": "plain", "title": "Dividende je Aktie" }, { "detail": { "action": null, "text": "+ 2,94 €", "trend": null, "type": "text" }, "style": "highlighted", "title": "Gesamt" } ], "title": "Transaktion", "type": "table" }, { "action": null, "data": [ { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", "type": "browserModal" }, "detail": "13.12.2023", "id": "df244c67-8907-4365-bb89-ce26e1fadea5", "postboxType": "INCOME", "title": "Abrechnung" } ], "title": "Dokumente", "type": "documents" } ] }`, Response: tests.Response{ HeaderSection: details.ResponseSectionTypeHeader{ Data: details.ResponseSectionTypeHeaderData{ Icon: "logos/IE00BK1PV551/v2", Status: "executed", Timestamp: "2023-12-13T12:44:28.857+0000", }, Title: "Du hast 2,94 € erhalten", Type: "header", }, TableSections: details.ResponseSectionsTypeTable{ { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "Ausschüttung", Type: "text", }, Style: "plain", Title: "Ereignis", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "MSCI World USD (Dist)", Type: "text", }, Style: "plain", Title: "Asset", }, }, Title: "Übersicht", Type: "table", }, { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "10,344033", Type: "text", }, Style: "plain", Title: "Anteile", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "0,28 €", Type: "text", }, Style: "plain", Title: "Dividende je Aktie", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "+ 2,94 €", Type: "text", }, Style: "highlighted", Title: "Gesamt", }, }, Title: "Transaktion", Type: "table", }, }, DocumentsSection: details.ResponseSectionTypeDocuments{ Data: []details.ResponseSectionTypeDocumentData{ { Action: details.ResponseAction{ Payload: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Type: "browserModal", }, Detail: "13.12.2023", ID: "df244c67-8907-4365-bb89-ce26e1fadea5", PostboxType: "INCOME", Title: "Abrechnung", }, }, Title: "Dokumente", Type: "documents", }, }, EventType: transactions.EventTypeCredit, Transaction: transaction.Model{ UUID: "23cf72a9-3888-4918-898c-c3bc38346ba1", Instrument: transaction.Instrument{ ISIN: "IE00BK1PV551", Name: "MSCI World USD (Dist)", Icon: "logos/IE00BK1PV551/v2", }, Documents: []document.Model{ { ID: "df244c67-8907-4365-bb89-ce26e1fadea5", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Date: "13.12.2023", Title: "Abrechnung", }, }, Type: transaction.TypeDividendPayout, Status: "executed", Shares: 10.344033, Rate: 0.28, Total: 2.94, }, CSVEntry: filesystem.CSVEntry{ ID: "23cf72a9-3888-4918-898c-c3bc38346ba1", Status: "executed", Type: "Dividends", AssetType: "ETF", Name: "MSCI World USD (Dist)", Instrument: "IE00BK1PV551", Shares: 10.344033, Rate: 0.28, Profit: 2.94, Credit: 2.94, }, }
View Source
var InterestPayoutCreated01 = tests.TestCase{ ResponseJSON: `{ "id": "c30c2952-ff0e-4fdb-bb8c-dfe1a8c35ce6", "sections": [ { "action": null, "data": { "icon": "logos/timeline_interest_new/v2", "status": "executed", "subtitleText": null, "timestamp": "2023-11-06T11:22:52.544+0000" }, "title": "Du hast 0,07 EUR erhalten", "type": "header" }, { "action": null, "data": [ { "detail": { "functionalStyle": "EXECUTED", "text": "Abgeschlossen", "type": "status" }, "style": "plain", "title": "Status" }, { "detail": { "action": null, "text": "283,33 €", "trend": null, "type": "text" }, "style": "plain", "title": "Durchschnittssaldo" }, { "detail": { "action": null, "text": "2 %", "trend": null, "type": "text" }, "style": "plain", "title": "Jahressatz" }, { "detail": { "action": null, "text": "Guthaben", "trend": null, "type": "text" }, "style": "plain", "title": "Vermögenswert" } ], "title": "Übersicht", "type": "table" }, { "action": { "payload": { "sections": [ { "action": null, "title": "Transaktion", "type": "title" }, { "action": null, "data": [ { "detail": { "action": null, "text": "0,02 €", "trend": null, "type": "text" }, "style": "plain", "title": "Kapitalertragsteuer" }, { "detail": { "action": null, "text": "0,02 €", "trend": null, "type": "text" }, "style": "highlighted", "title": "Steuern" } ], "title": null, "type": "table" }, { "action": null, "data": [ { "detail": { "action": null, "text": "+ 0,09 €", "trend": null, "type": "text" }, "style": "plain", "title": "Angefallen" }, { "detail": { "action": null, "text": "0,02 €", "trend": null, "type": "text" }, "style": "plain", "title": "Steuern" }, { "detail": { "action": null, "text": "+ 0,07 €", "trend": null, "type": "text" }, "style": "highlighted", "title": "Gesamt" } ], "title": null, "type": "table" } ] }, "type": "infoPage" }, "data": [ { "detail": { "action": null, "text": "+ 0,09 €", "trend": null, "type": "text" }, "style": "plain", "title": "Angefallen" }, { "detail": { "action": null, "text": "0,02 €", "trend": null, "type": "text" }, "style": "plain", "title": "Steuern" }, { "detail": { "action": null, "text": "+ 0,07 €", "trend": null, "type": "text" }, "style": "highlighted", "title": "Gesamt" } ], "title": "Transaktion", "type": "table" }, { "action": null, "data": [ { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", "type": "browserModal" }, "detail": "06.11.2023", "id": "f1b33e1e-0e44-4508-b2cd-d508715d9740", "postboxType": "INTEREST_PAYOUT_INVOICE", "title": "Abrechnung" } ], "title": "Dokumente", "type": "documents" } ] }`, Response: tests.Response{ HeaderSection: details.ResponseSectionTypeHeader{ Data: details.ResponseSectionTypeHeaderData{ Icon: "logos/timeline_interest_new/v2", Status: "executed", Timestamp: "2023-11-06T11:22:52.544+0000", }, Title: "Du hast 0,07 EUR erhalten", Type: "header", }, TableSections: details.ResponseSectionsTypeTable{ { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ FunctionalStyle: "EXECUTED", Text: "Abgeschlossen", Type: "status", }, Style: "plain", Title: "Status", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "283,33 €", Type: "text", }, Style: "plain", Title: "Durchschnittssaldo", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "2 %", Type: "text", }, Style: "plain", Title: "Jahressatz", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "Guthaben", Type: "text", }, Style: "plain", Title: "Vermögenswert", }, }, Title: "Übersicht", Type: "table", }, { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "+ 0,09 €", Type: "text", }, Style: "plain", Title: "Angefallen", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "0,02 €", Type: "text", }, Style: "plain", Title: "Steuern", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "+ 0,07 €", Type: "text", }, Style: "highlighted", Title: "Gesamt", }, }, Title: "Transaktion", Type: "table", }, }, DocumentsSection: details.ResponseSectionTypeDocuments{ Data: []details.ResponseSectionTypeDocumentData{ { Action: details.ResponseAction{ Payload: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Type: "browserModal", }, Detail: "06.11.2023", ID: "f1b33e1e-0e44-4508-b2cd-d508715d9740", PostboxType: "INTEREST_PAYOUT_INVOICE", Title: "Abrechnung", }, }, Title: "Dokumente", Type: "documents", }, }, EventType: transactions.EventTypeInterestPayoutCreated, Transaction: transaction.Model{ UUID: "c30c2952-ff0e-4fdb-bb8c-dfe1a8c35ce6", Instrument: transaction.Instrument{}, Type: "", Status: "executed", Yield: 0, Profit: 0, Shares: 0, Rate: 0, Commission: 0, Total: 0, TaxAmount: 0, Documents: []document.Model{ { ID: "", URL: "", Date: "", Title: "", }, }, }, CSVEntry: filesystem.CSVEntry{ ID: "c30c2952-ff0e-4fdb-bb8c-dfe1a8c35ce6", Status: "executed", Type: "", AssetType: "", Name: "", Instrument: "", Shares: 0, Rate: 0, Yield: 0, Profit: 0, Commission: 0, Debit: 0, Credit: 0, TaxAmount: 0, InvestedAmount: 0, }, }
View Source
var ( OrderExecuted01 = tests.TestCase{ ResponseJSON: `{ "id": "b20e367c-5542-4fab-9fd6-6faa5e7ab582", "sections": [ { "action": { "payload": "DE000SH0MW59", "type": "instrumentDetail" }, "data": { "icon": "logos/FR0003500008/v2", "status": "executed", "subtitleText": null, "timestamp": "2022-03-29T09:43:31.570+0000" }, "title": "Du hast 395,80 € investiert", "type": "header" }, { "action": null, "data": [ { "detail": { "functionalStyle": "EXECUTED", "text": "Ausgeführt", "type": "status" }, "style": "plain", "title": "Status" }, { "detail": { "action": null, "text": "Kauf", "trend": null, "type": "text" }, "style": "plain", "title": "Orderart" }, { "detail": { "action": null, "text": "CAC", "trend": null, "type": "text" }, "style": "plain", "title": "Basiswert" }, { "detail": { "action": null, "text": "Short Faktor Optionsschein 2", "trend": null, "type": "text" }, "style": "plain", "title": "Produkt" } ], "title": "Übersicht", "type": "table" }, { "action": null, "data": [ { "detail": { "action": null, "text": "40", "trend": null, "type": "text" }, "style": "plain", "title": "Anteile" }, { "detail": { "action": null, "text": "9,87 €", "trend": null, "type": "text" }, "style": "plain", "title": "Aktienkurs" }, { "detail": { "action": null, "text": "1,00 €", "trend": null, "type": "text" }, "style": "plain", "title": "Gebühr" }, { "detail": { "action": null, "text": "395,80 €", "trend": null, "type": "text" }, "style": "highlighted", "title": "Gesamt" } ], "title": "Transaktion", "type": "table" }, { "action": null, "data": [ { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/", "type": "browserModal" }, "detail": "29.03.2022", "id": "46e92aa7-df44-4a69-957c-183459753e66", "postboxType": "SECURITIES_SETTLEMENT", "title": "Abrechnung" }, { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/", "type": "browserModal" }, "detail": "29.03.2022", "id": "3c4ccef3-249d-4d10-a54a-18a82fb9475a", "postboxType": "COSTS_INFO_BUY_V2", "title": "Kosteninformation" } ], "title": "Dokumente", "type": "documents" } ] }`, EventType: transactions.EventTypeOrderExecuted, Transaction: transaction.Model{ UUID: "b20e367c-5542-4fab-9fd6-6faa5e7ab582", Instrument: transaction.Instrument{ ISIN: "DE000SH0MW59", Name: "CAC", Icon: "logos/FR0003500008/v2", }, Type: transaction.TypePurchase, Status: "executed", Shares: 40, Rate: 9.87, Commission: 1, Total: 395.80, Documents: []document.Model{ { ID: "46e92aa7-df44-4a69-957c-183459753e66", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/", Date: "29.03.2022", Title: "Abrechnung", }, { ID: "3c4ccef3-249d-4d10-a54a-18a82fb9475a", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/", Date: "29.03.2022", Title: "Kosteninformation", }, }, }, CSVEntry: filesystem.CSVEntry{ ID: "b20e367c-5542-4fab-9fd6-6faa5e7ab582", Status: "executed", Type: "Purchase", AssetType: "Other", Name: "CAC", Instrument: "DE000SH0MW59", Shares: 40, Rate: 9.87, Commission: 1, Debit: 395.80, }, } )
View Source
var OrderExecuted02 = tests.TestCase{ ResponseJSON: `{ "id": "1d9ad3b5-e65c-41f6-9c7d-96baa2a2ecad", "sections": [ { "action": { "payload": "DE000A0F5UF5", "type": "instrumentDetail" }, "data": { "icon": "logos/DE000A0F5UF5/v2", "status": "executed", "subtitleText": null, "timestamp": "2023-11-23T15:45:24.252+0000" }, "title": "Du hast 136,14 € investiert", "type": "header" }, { "action": null, "data": [ { "detail": { "functionalStyle": "EXECUTED", "text": "Ausgeführt", "type": "status" }, "style": "plain", "title": "Status" }, { "detail": { "action": null, "text": "Kauf", "trend": null, "type": "text" }, "style": "plain", "title": "Orderart" }, { "detail": { "action": null, "text": "NASDAQ100 USD (Dist)", "trend": null, "type": "text" }, "style": "plain", "title": "Asset" } ], "title": "Übersicht", "type": "table" }, { "action": null, "data": [ { "detail": { "action": null, "text": "1", "trend": null, "type": "text" }, "style": "plain", "title": "Anteile" }, { "detail": { "action": null, "text": "135,14 €", "trend": null, "type": "text" }, "style": "plain", "title": "Aktienkurs" }, { "detail": { "action": null, "text": "1,00 €", "trend": null, "type": "text" }, "style": "plain", "title": "Gebühr" }, { "detail": { "action": null, "text": "136,14 €", "trend": null, "type": "text" }, "style": "highlighted", "title": "Gesamt" } ], "title": "Transaktion", "type": "table" }, { "action": null, "data": [ { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", "type": "browserModal" }, "detail": "23.11.2023", "id": "c9a1c524-1c54-4689-8b2f-0f1bcbb91c9d", "postboxType": "SECURITIES_SETTLEMENT", "title": "Abrechnung" }, { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", "type": "browserModal" }, "detail": "23.11.2023", "id": "b26233a9-ee80-4da9-8404-08e722fe830b", "postboxType": "INFO", "title": "Basisinformationsblatt" }, { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", "type": "browserModal" }, "detail": "23.11.2023", "id": "b582015c-7a5c-47d0-8d33-6391d414cdc7", "postboxType": "COSTS_INFO_BUY_V2", "title": "Kosteninformation" } ], "title": "Dokumente", "type": "documents" } ] }`, Response: tests.Response{ HeaderSection: details.ResponseSectionTypeHeader{ Action: details.ResponseAction{ Payload: "DE000A0F5UF5", Type: "instrumentDetail", }, Data: details.ResponseSectionTypeHeaderData{ Icon: "logos/DE000A0F5UF5/v2", Status: "executed", Timestamp: "2023-11-23T15:45:24.252+0000", }, Title: "Du hast 136,14 € investiert", Type: "header", }, TableSections: details.ResponseSectionsTypeTable{ { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ FunctionalStyle: "EXECUTED", Text: "Ausgeführt", Type: "status", }, Style: "plain", Title: "Status", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "Kauf", Type: "text", }, Style: "plain", Title: "Orderart", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "NASDAQ100 USD (Dist)", Type: "text", }, Style: "plain", Title: "Asset", }, }, Title: "Übersicht", Type: "table", }, { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "1", Type: "text", }, Style: "plain", Title: "Anteile", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "135,14 €", Type: "text", }, Style: "plain", Title: "Aktienkurs", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "1,00 €", Type: "text", }, Style: "plain", Title: "Gebühr", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "136,14 €", Type: "text", }, Style: "highlighted", Title: "Gesamt", }, }, Title: "Transaktion", Type: "table", }, }, DocumentsSection: details.ResponseSectionTypeDocuments{ Data: []details.ResponseSectionTypeDocumentData{ { Action: details.ResponseAction{ Payload: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Type: "browserModal", }, Detail: "23.11.2023", ID: "c9a1c524-1c54-4689-8b2f-0f1bcbb91c9d", PostboxType: "SECURITIES_SETTLEMENT", Title: "Abrechnung", }, { Action: details.ResponseAction{ Payload: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Type: "browserModal", }, Detail: "23.11.2023", ID: "b26233a9-ee80-4da9-8404-08e722fe830b", PostboxType: "INFO", Title: "Basisinformationsblatt", }, { Action: details.ResponseAction{ Payload: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Type: "browserModal", }, Detail: "23.11.2023", ID: "b582015c-7a5c-47d0-8d33-6391d414cdc7", PostboxType: "COSTS_INFO_BUY_V2", Title: "Kosteninformation", }, }, Title: "Dokumente", Type: "documents", }, }, EventType: transactions.EventTypeOrderExecuted, Transaction: transaction.Model{ UUID: "1d9ad3b5-e65c-41f6-9c7d-96baa2a2ecad", Instrument: transaction.Instrument{ ISIN: "DE000A0F5UF5", Name: "NASDAQ100 USD (Dist)", Icon: "logos/DE000A0F5UF5/v2", }, Type: transaction.TypePurchase, Status: "executed", Shares: 1, Rate: 135.14, Commission: 1, Total: 136.14, Documents: []document.Model{ { ID: "c9a1c524-1c54-4689-8b2f-0f1bcbb91c9d", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Date: "23.11.2023", Title: "Abrechnung", }, { ID: "b26233a9-ee80-4da9-8404-08e722fe830b", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Date: "23.11.2023", Title: "Basisinformationsblatt", }, { ID: "b582015c-7a5c-47d0-8d33-6391d414cdc7", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Date: "23.11.2023", Title: "Kosteninformation", }, }, }, CSVEntry: filesystem.CSVEntry{ ID: "1d9ad3b5-e65c-41f6-9c7d-96baa2a2ecad", Status: "executed", Type: "Purchase", AssetType: "ETF", Name: "NASDAQ100 USD (Dist)", Instrument: "DE000A0F5UF5", Shares: 1, Rate: 135.14, Commission: 1, Debit: 136.14, }, }
View Source
var OrderExecuted03 = tests.TestCase{ ResponseJSON: `{ "id": "a3b8e625-a6e9-4269-9529-01ebb86d69bb", "sections": [ { "action": { "payload": "US6701002056", "type": "instrumentDetail" }, "data": { "icon": "logos/US6701002056/v2", "status": "executed", "subtitleText": null, "timestamp": "2024-03-11T11:23:59.448+0000" }, "title": "Du hast 482,99 € erhalten", "type": "header" }, { "action": null, "data": [ { "detail": { "functionalStyle": "EXECUTED", "text": "Ausgeführt", "type": "status" }, "style": "plain", "title": "Status" }, { "detail": { "action": null, "text": "Limit Verkauf", "trend": null, "type": "text" }, "style": "plain", "title": "Orderart" }, { "detail": { "action": null, "text": "Novo Nordisk (ADR)", "trend": null, "type": "text" }, "style": "plain", "title": "Asset" } ], "title": "Übersicht", "type": "table" }, { "action": null, "data": [ { "detail": { "action": null, "text": "0,21 %", "trend": "positive", "type": "text" }, "style": "plain", "title": "Rendite" }, { "detail": { "action": null, "text": "1,04 €", "trend": "positive", "type": "text" }, "style": "plain", "title": "Gewinn" } ], "title": "Performance", "type": "horizontalTable" }, { "action": null, "data": [ { "detail": { "action": null, "text": "5", "trend": null, "type": "text" }, "style": "plain", "title": "Anteile" }, { "detail": { "action": null, "text": "96,80 €", "trend": null, "type": "text" }, "style": "plain", "title": "Aktienkurs" }, { "detail": { "action": null, "text": "0,01 €", "trend": null, "type": "text" }, "style": "plain", "title": "Steuern" }, { "detail": { "action": null, "text": "1,00 €", "trend": null, "type": "text" }, "style": "plain", "title": "Gebühr" }, { "detail": { "action": null, "text": "+ 482,99 €", "trend": null, "type": "text" }, "style": "highlighted", "title": "Gesamt" } ], "title": "Transaktion", "type": "table" }, { "action": null, "data": [ { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", "type": "browserModal" }, "detail": "11.03.2024", "id": "f17b2237-0e32-410e-b38b-8638600ffbb0", "postboxType": "SECURITIES_SETTLEMENT", "title": "Abrechnung" }, { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", "type": "browserModal" }, "detail": "27.02.2024", "id": "3c214355-dc5a-488a-b780-b28fb66b66c8", "postboxType": "CONFIRM_ORDER_CREATE_V2", "title": "Auftragsbestätigung" }, { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", "type": "browserModal" }, "detail": "12.02.2024", "id": "21a13acc-7f3c-4156-8365-be8089006ac4", "postboxType": "COSTS_INFO_SELL_V2", "title": "Kosteninformation" } ], "title": "Dokumente", "type": "documents" } ] }`, EventType: transactions.EventTypeOrderExecuted, Transaction: transaction.Model{ UUID: "a3b8e625-a6e9-4269-9529-01ebb86d69bb", Instrument: transaction.Instrument{ ISIN: "US6701002056", Name: "Novo Nordisk (ADR)", Icon: "logos/US6701002056/v2", }, Type: transaction.TypeSale, Status: "executed", Shares: 5, Rate: 96.80, Yield: 0.21, Profit: 1.04, Commission: 1, Total: 482.99, TaxAmount: 0.01, Documents: []document.Model{ { ID: "f17b2237-0e32-410e-b38b-8638600ffbb0", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", Date: "11.03.2024", Title: "Abrechnung", }, { ID: "3c214355-dc5a-488a-b780-b28fb66b66c8", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", Date: "27.02.2024", Title: "Auftragsbestätigung", }, { ID: "21a13acc-7f3c-4156-8365-be8089006ac4", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox", Date: "12.02.2024", Title: "Kosteninformation", }, }, }, CSVEntry: filesystem.CSVEntry{ ID: "a3b8e625-a6e9-4269-9529-01ebb86d69bb", Status: "executed", Type: "Sale", AssetType: "Other", Name: "Novo Nordisk (ADR)", Instrument: "US6701002056", Shares: -5, Rate: 96.80, Yield: 0.21, Profit: 1.04, Commission: 1, Credit: 482.99, TaxAmount: 0.01, }, }
View Source
var OrderExecuted04 = tests.TestCase{
ResponseJSON: `{
"id": "61f297f9-f9c3-46c4-a15c-cdd50d5544ad",
"sections": [
{
"action": {
"payload": "XF000AVAX016",
"type": "instrumentDetail"
},
"data": {
"icon": "logos/XF000AVAX016/v2",
"status": "executed",
"subtitleText": null,
"timestamp": "2024-03-12T15:21:56.707+0000"
},
"title": "Du hast 2.517,95 € erhalten",
"type": "header"
},
{
"action": null,
"data": [
{
"detail": {
"functionalStyle": "EXECUTED",
"text": "Ausgeführt",
"type": "status"
},
"style": "plain",
"title": "Status"
},
{
"detail": {
"action": null,
"text": "Verkauf",
"trend": null,
"type": "text"
},
"style": "plain",
"title": "Orderart"
},
{
"detail": {
"action": null,
"text": "Avalanche",
"trend": null,
"type": "text"
},
"style": "plain",
"title": "Asset"
}
],
"title": "Übersicht",
"type": "table"
},
{
"action": null,
"data": [
{
"detail": {
"action": null,
"text": "1,71 %",
"trend": "positive",
"type": "text"
},
"style": "plain",
"title": "Rendite"
},
{
"detail": {
"action": null,
"text": "42,44 €",
"trend": "positive",
"type": "text"
},
"style": "plain",
"title": "Gewinn"
}
],
"title": "Performance",
"type": "horizontalTable"
},
{
"action": null,
"data": [
{
"detail": {
"action": null,
"text": "65",
"trend": null,
"type": "text"
},
"style": "plain",
"title": "Anteile"
},
{
"detail": {
"action": null,
"text": "38,75 €",
"trend": null,
"type": "text"
},
"style": "plain",
"title": "Aktienkurs"
},
{
"detail": {
"action": null,
"text": "1,00 €",
"trend": null,
"type": "text"
},
"style": "plain",
"title": "Gebühr"
},
{
"detail": {
"action": null,
"text": "+ 2.517,95 €",
"trend": null,
"type": "text"
},
"style": "highlighted",
"title": "Gesamt"
}
],
"title": "Transaktion",
"type": "table"
},
{
"action": null,
"data": [
{
"action": {
"payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox",
"type": "browserModal"
},
"detail": "12.03.2024",
"id": "7afcc1b3-42f4-4ecd-a40d-b17efd8b1478",
"postboxType": "CRYPTO_SECURITIES_SETTLEMENT",
"title": "Abrechnung"
},
{
"action": {
"payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox",
"type": "browserModal"
},
"detail": "12.03.2024",
"id": "f8c83c0f-5294-4854-9645-58c65bab8170",
"postboxType": "COSTS_INFO_SELL_V2",
"title": "Kosteninformation"
}
],
"title": "Dokumente",
"type": "documents"
}
]
}`,
}
View Source
var PaymentInbound01 = tests.TestCase{ ResponseJSON: `{ "id": "1ae661c0-b3f1-4a81-a909-79567161b014", "sections": [ { "action": null, "data": { "icon": "logos/timeline_plus_circle/v2", "status": "executed", "subtitleText": null, "timestamp": "2023-05-21T08:25:53.360+0000" }, "title": "Du hast 200,00 € erhalten", "type": "header" }, { "action": null, "data": [ { "detail": { "functionalStyle": "EXECUTED", "text": "Abgeschlossen", "type": "status" }, "style": "plain", "title": "Status" }, { "detail": { "action": null, "text": "John Doe", "trend": null, "type": "text" }, "style": "plain", "title": "Von" }, { "detail": { "action": null, "text": "DE78 0000 0000 0000 0000 00", "trend": null, "type": "text" }, "style": "plain", "title": "IBAN" } ], "title": "Übersicht", "type": "table" } ] }`, Response: tests.Response{ HeaderSection: details.ResponseSectionTypeHeader{ Data: details.ResponseSectionTypeHeaderData{ Icon: "logos/timeline_plus_circle/v2", Status: "executed", Timestamp: "2023-05-21T08:25:53.360+0000", }, Title: "Du hast 200,00 € erhalten", Type: "header", }, TableSections: details.ResponseSectionsTypeTable{ { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ FunctionalStyle: "EXECUTED", Text: "Abgeschlossen", Type: "status", }, Style: "plain", Title: "Status", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "John Doe", Type: "text", }, Style: "plain", Title: "Von", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "DE78 0000 0000 0000 0000 00", Type: "text", }, Style: "plain", Title: "IBAN", }, }, Title: "Übersicht", Type: "table", }, }, }, EventType: transactions.EventTypePaymentInbound, Transaction: transaction.Model{ UUID: "1ae661c0-b3f1-4a81-a909-79567161b014", Type: transaction.TypeDeposit, Status: "executed", Total: 200, Documents: []document.Model{}, }, CSVEntry: filesystem.CSVEntry{ ID: "1ae661c0-b3f1-4a81-a909-79567161b014", Status: "executed", Type: "Deposit", AssetType: "Other", Credit: 200, }, }
View Source
var PaymentInboundSepaDirectDebit01 = tests.TestCase{ ResponseJSON: `{ "id": "ddc4ed4f-0314-42cf-8a65-930da1354348", "sections": [ { "action": null, "data": { "icon": "logos/timeline_plus_circle/v2", "status": "executed", "subtitleText": null, "timestamp": "2023-07-23T21:05:22.543+0000" }, "title": "Du hast 500,00 € per Lastschrift hinzugefügt", "type": "header" }, { "action": null, "data": [ { "detail": { "functionalStyle": "EXECUTED", "text": "Ausgeführt", "type": "status" }, "style": "plain", "title": "Status" }, { "detail": { "action": null, "text": "Lastschrift", "trend": null, "type": "text" }, "style": "plain", "title": "Zahlung" } ], "title": "Übersicht", "type": "table" }, { "action": null, "data": [ { "detail": { "action": null, "text": "Gratis", "trend": null, "type": "text" }, "style": "plain", "title": "Gebühr" }, { "detail": { "action": null, "text": "500,00 €", "trend": null, "type": "text" }, "style": "highlighted", "title": "Betrag" } ], "title": "Transaktion", "type": "table" }, { "action": null, "data": [ { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", "type": "browserModal" }, "detail": "23.07.2023", "id": "cfc08704-eb56-44f1-83a0-c39aba9055ca", "postboxType": "PAYMENT_INBOUND_INVOICE", "title": "Abrechnung Einzahlung" } ], "title": "Dokumente", "type": "documents" } ] }`, Response: tests.Response{ HeaderSection: details.ResponseSectionTypeHeader{ Data: details.ResponseSectionTypeHeaderData{ Icon: "logos/timeline_plus_circle/v2", Status: "executed", Timestamp: "2023-07-23T21:05:22.543+0000", }, Title: "Du hast 500,00 € per Lastschrift hinzugefügt", Type: "header", }, TableSections: details.ResponseSectionsTypeTable{ { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ FunctionalStyle: "EXECUTED", Text: "Ausgeführt", Type: "status", }, Style: "plain", Title: "Status", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "Lastschrift", Type: "text", }, Style: "plain", Title: "Zahlung", }, }, Title: "Übersicht", Type: "table", }, { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "Gratis", Type: "text", }, Style: "plain", Title: "Gebühr", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "500,00 €", Type: "text", }, Style: "highlighted", Title: "Betrag", }, }, Title: "Transaktion", Type: "table", }, }, DocumentsSection: details.ResponseSectionTypeDocuments{ Data: []details.ResponseSectionTypeDocumentData{ { Action: details.ResponseAction{ Payload: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Type: "browserModal", }, Detail: "23.07.2023", ID: "cfc08704-eb56-44f1-83a0-c39aba9055ca", PostboxType: "PAYMENT_INBOUND_INVOICE", Title: "Abrechnung Einzahlung", }, }, Title: "Dokumente", Type: "documents", }, }, EventType: transactions.EventTypePaymentInboundSepaDirectDebit, Transaction: transaction.Model{ UUID: "ddc4ed4f-0314-42cf-8a65-930da1354348", Type: transaction.TypeDeposit, Status: "executed", Total: 500, Documents: []document.Model{ { ID: "cfc08704-eb56-44f1-83a0-c39aba9055ca", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Date: "23.07.2023", Title: "Abrechnung Einzahlung", }, }, }, CSVEntry: filesystem.CSVEntry{ ID: "ddc4ed4f-0314-42cf-8a65-930da1354348", Status: "executed", Type: "Deposit", AssetType: "Other", Credit: 500, }, }
View Source
var PaymentOutbound01 = tests.TestCase{ ResponseJSON: `{ "id": "a2597441-45f4-4ae2-a881-ab4a65aa0f0e", "sections": [ { "action": null, "data": { "icon": "logos/timeline_minus_circle/v2", "status": "executed", "subtitleText": null, "timestamp": "2024-01-11T08:55:22.185+0000" }, "title": "Du hast 1,00 € gesendet", "type": "header" }, { "action": null, "data": [ { "detail": { "functionalStyle": "EXECUTED", "text": "Abgeschlossen", "type": "status" }, "style": "plain", "title": "Status" }, { "detail": { "action": null, "text": "Mr. Bean", "trend": null, "type": "text" }, "style": "plain", "title": "An" }, { "detail": { "action": null, "text": "DE14 1234 5678 9012 3456 78", "trend": null, "type": "text" }, "style": "plain", "title": "IBAN" } ], "title": "Übersicht", "type": "table" } ] }`, EventType: transactions.EventTypePaymentOutbound, Transaction: transaction.Model{ UUID: "a2597441-45f4-4ae2-a881-ab4a65aa0f0e", Type: transaction.TypeWithdrawal, Status: "executed", Total: 1, CreatedAt: time.Time{}, UpdatedAt: time.Time{}, Documents: []document.Model{}, }, CSVEntry: filesystem.CSVEntry{ ID: "a2597441-45f4-4ae2-a881-ab4a65aa0f0e", Status: "executed", Type: "Withdrawal", AssetType: "Other", Debit: 1, }, }
View Source
var SavingsPlanExecuted01 = tests.TestCase{ ResponseJSON: `{ "id": "7c9be07c-7b88-4a49-a4be-425094388b8e", "sections": [ { "action": { "payload": "IE00BK1PV551", "type": "instrumentDetail" }, "data": { "icon": "logos/IE00BK1PV551/v2", "status": "executed", "subtitleText": null, "timestamp": "2023-11-11T13:40:59.926+0000" }, "title": "Du hast 500,00 € investiert", "type": "header" }, { "action": null, "data": [ { "detail": { "functionalStyle": "EXECUTED", "text": "Ausgeführt", "type": "status" }, "style": "plain", "title": "Status" }, { "detail": { "action": null, "text": "Sparplan", "trend": null, "type": "text" }, "style": "plain", "title": "Orderart" }, { "detail": { "action": null, "text": "MSCI World USD (Dist)", "trend": null, "type": "text" }, "style": "plain", "title": "Asset" }, { "detail": { "icon": "logos/bank_commerzbank/v2", "text": "·· 0000", "type": "iconWithText" }, "style": "plain", "title": "Zahlung" } ], "title": "Übersicht", "type": "table" }, { "action": null, "data": [ { "detail": { "action": { "payload": { "savingsPlanId": "f9c615ca-959c-4cf1-b8b9-10541673fba5" }, "type": "openSavingsPlanOverview" }, "amount": "500,00 €", "icon": "logos/IE00BK1PV551/v2", "status": "executed", "subtitle": "Wöchentlich", "timestamp": "2023-11-02T16:41:39.944Z", "title": "MSCI World USD (Dist)", "type": "embeddedTimelineItem" }, "style": "plain", "title": "" } ], "title": "Sparplan", "type": "table" }, { "action": null, "data": [ { "detail": { "action": null, "text": "6,887811", "trend": null, "type": "text" }, "style": "plain", "title": "Anteile" }, { "detail": { "action": null, "text": "72,592 €", "trend": null, "type": "text" }, "style": "plain", "title": "Anteilspreis" }, { "detail": { "action": null, "text": "Gratis", "trend": null, "type": "text" }, "style": "plain", "title": "Gebühr" }, { "detail": { "action": null, "text": "500,00 €", "trend": null, "type": "text" }, "style": "highlighted", "title": "Gesamt" } ], "title": "Transaktion", "type": "table" }, { "action": null, "data": [ { "action": { "payload": "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", "type": "browserModal" }, "detail": "11.11.2023", "id": "0ac3aea7-6d68-4815-8f25-9c8997ef790d", "postboxType": "SAVINGS_PLAN_EXECUTED_V2", "title": "Abrechnung Ausführung" } ], "title": "Dokumente", "type": "documents" } ] }`, Response: tests.Response{ HeaderSection: details.ResponseSectionTypeHeader{ Action: details.ResponseAction{ Payload: "IE00BK1PV551", Type: "instrumentDetail", }, Data: details.ResponseSectionTypeHeaderData{ Icon: "logos/IE00BK1PV551/v2", Status: "executed", Timestamp: "2023-11-11T13:40:59.926+0000", }, Title: "Du hast 500,00 € investiert", Type: "header", }, TableSections: details.ResponseSectionsTypeTable{ { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ FunctionalStyle: "EXECUTED", Text: "Ausgeführt", Type: "status", }, Style: "plain", Title: "Status", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "Sparplan", Type: "text", }, Style: "plain", Title: "Orderart", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "MSCI World USD (Dist)", Type: "text", }, Style: "plain", Title: "Asset", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Icon: "logos/bank_commerzbank/v2", Text: "·· 0000", Type: "iconWithText", }, Style: "plain", Title: "Zahlung", }, }, Title: "Übersicht", Type: "table", }, { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ Action: details.ResponseAction{ Payload: map[string]any{ "savingsPlanId": "f9c615ca-959c-4cf1-b8b9-10541673fba5", }, Type: "openSavingsPlanOverview", }, Amount: "500,00 €", Icon: "logos/IE00BK1PV551/v2", Status: "executed", Subtitle: "Wöchentlich", Timestamp: "2023-11-02T16:41:39.944Z", Title: "MSCI World USD (Dist)", Type: "embeddedTimelineItem", }, Style: "plain", Title: "", }, }, Title: "Sparplan", Type: "table", }, { Data: []details.ResponseSectionTypeTableData{ { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "6,887811", Type: "text", }, Style: "plain", Title: "Anteile", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "72,592 €", Type: "text", }, Style: "plain", Title: "Anteilspreis", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "Gratis", Type: "text", }, Style: "plain", Title: "Gebühr", }, { Detail: details.ResponseSectionTypeTableDataDetail{ Text: "500,00 €", Type: "text", }, Style: "highlighted", Title: "Gesamt", }, }, Title: "Transaktion", Type: "table", }, }, DocumentsSection: details.ResponseSectionTypeDocuments{ Data: []details.ResponseSectionTypeDocumentData{ { Action: details.ResponseAction{ Payload: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Type: "browserModal", }, Detail: "11.11.2023", ID: "0ac3aea7-6d68-4815-8f25-9c8997ef790d", PostboxType: "SAVINGS_PLAN_EXECUTED_V2", Title: "Abrechnung Ausführung", }, }, Title: "Dokumente", Type: "documents", }, }, EventType: transactions.EventTypeSavingsPlanExecuted, Transaction: transaction.Model{ UUID: "7c9be07c-7b88-4a49-a4be-425094388b8e", Instrument: transaction.Instrument{ ISIN: "IE00BK1PV551", Name: "MSCI World USD (Dist)", Icon: "logos/IE00BK1PV551/v2", }, Type: transaction.TypePurchase, Status: "executed", Shares: 6.887811, Rate: 72.592, Total: 500, Documents: []document.Model{ { ID: "0ac3aea7-6d68-4815-8f25-9c8997ef790d", URL: "https://traderepublic-data-production.s3.eu-central-1.amazonaws.com/timeline/postbox/", Date: "11.11.2023", Title: "Abrechnung Ausführung", }, }, }, CSVEntry: filesystem.CSVEntry{ ID: "7c9be07c-7b88-4a49-a4be-425094388b8e", Status: "executed", Type: "Purchase", AssetType: "ETF", Name: "MSCI World USD (Dist)", Instrument: "IE00BK1PV551", Shares: 6.887811, Rate: 72.592, Debit: 500, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files
¶
- benefits_saveback_execution_01.go
- benefits_spare_change_execution_01.go
- credit_01.go
- interest_payout_created_01.go
- order_executed_01.go
- order_executed_02.go
- order_executed_03.go
- order_executed_04.go
- payment_inbound_01.go
- payment_inbound_sepa_direct_debit_01.go
- payment_outbound_01.go
- savings_plan_executed_01.go
Click to show internal directories.
Click to hide internal directories.