.. _module-splice-wallet-buytrafficrequest-40881: Splice.Wallet.BuyTrafficRequest =============================== Templates --------- .. _type-splice-wallet-buytrafficrequest-buytrafficrequest-65116: **template** `BuyTrafficRequest `_ A request by an end\-user to the wallet's automation to buy traffic for a sequencer member Signatory\: endUserParty .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - dso - `Party `_ - * - endUserParty - `Party `_ - * - expiresAt - `Time `_ - Buy the traffic before this time\. * - trackingId - `Text `_ - Used to deduplicate requests * - trafficAmount - `Int `_ - * - memberId - `Text `_ - * - synchronizerId - `Text `_ - * - migrationId - `Int `_ - + **Choice** Archive Controller\: endUserParty Returns\: () (no fields) + .. _type-splice-wallet-buytrafficrequest-buytrafficrequestcancel-52564: **Choice** `BuyTrafficRequest_Cancel `_ Controller\: endUserParty Returns\: `BuyTrafficRequest_CancelResult `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - reason - `Text `_ - + .. _type-splice-wallet-buytrafficrequest-buytrafficrequestcomplete-61949: **Choice** `BuyTrafficRequest_Complete `_ Controller\: endUserParty, walletProvider Returns\: `BuyTrafficRequest_CompleteResult `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - inputs - \[TransferInput\] - * - context - PaymentTransferContext - * - walletProvider - `Party `_ - + .. _type-splice-wallet-buytrafficrequest-buytrafficrequestexpire-77595: **Choice** `BuyTrafficRequest_Expire `_ Controller\: endUserParty Returns\: `BuyTrafficRequest_ExpireResult `_ (no fields) Data Types ---------- .. _type-splice-wallet-buytrafficrequest-buytrafficrequesttrackinginfo-63943: **data** `BuyTrafficRequestTrackingInfo `_ .. _constr-splice-wallet-buytrafficrequest-buytrafficrequesttrackinginfo-4476: `BuyTrafficRequestTrackingInfo `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - trackingId - `Text `_ - used to deduplicate requests and query for the status * - endUserParty - `Party `_ - used in UserWalletTxLogParser's filterByParty **instance** `Eq `_ `BuyTrafficRequestTrackingInfo `_ **instance** `Show `_ `BuyTrafficRequestTrackingInfo `_ **instance** `GetField `_ \"endUserParty\" `BuyTrafficRequestTrackingInfo `_ `Party `_ **instance** `GetField `_ \"trackingId\" `BuyTrafficRequestTrackingInfo `_ `Text `_ **instance** `GetField `_ \"trackingInfo\" `BuyTrafficRequest_CancelResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `GetField `_ \"trackingInfo\" `BuyTrafficRequest_CompleteResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `GetField `_ \"trackingInfo\" `BuyTrafficRequest_ExpireResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `GetField `_ \"trackingInfo\" :ref:`WalletAppInstall_BuyTrafficRequest_CancelResult ` `BuyTrafficRequestTrackingInfo `_ **instance** `GetField `_ \"trackingInfo\" :ref:`WalletAppInstall_BuyTrafficRequest_ExpireResult ` `BuyTrafficRequestTrackingInfo `_ **instance** `SetField `_ \"endUserParty\" `BuyTrafficRequestTrackingInfo `_ `Party `_ **instance** `SetField `_ \"trackingId\" `BuyTrafficRequestTrackingInfo `_ `Text `_ **instance** `SetField `_ \"trackingInfo\" `BuyTrafficRequest_CancelResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `SetField `_ \"trackingInfo\" `BuyTrafficRequest_CompleteResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `SetField `_ \"trackingInfo\" `BuyTrafficRequest_ExpireResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `SetField `_ \"trackingInfo\" :ref:`WalletAppInstall_BuyTrafficRequest_CancelResult ` `BuyTrafficRequestTrackingInfo `_ **instance** `SetField `_ \"trackingInfo\" :ref:`WalletAppInstall_BuyTrafficRequest_ExpireResult ` `BuyTrafficRequestTrackingInfo `_ .. _type-splice-wallet-buytrafficrequest-buytrafficrequestcancelresult-81241: **data** `BuyTrafficRequest_CancelResult `_ .. _constr-splice-wallet-buytrafficrequest-buytrafficrequestcancelresult-28380: `BuyTrafficRequest_CancelResult `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - trackingInfo - `BuyTrafficRequestTrackingInfo `_ - **instance** `GetField `_ \"trackingInfo\" `BuyTrafficRequest_CancelResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `SetField `_ \"trackingInfo\" `BuyTrafficRequest_CancelResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `HasExercise `_ `BuyTrafficRequest `_ `BuyTrafficRequest_Cancel `_ `BuyTrafficRequest_CancelResult `_ **instance** `HasFromAnyChoice `_ `BuyTrafficRequest `_ `BuyTrafficRequest_Cancel `_ `BuyTrafficRequest_CancelResult `_ **instance** `HasToAnyChoice `_ `BuyTrafficRequest `_ `BuyTrafficRequest_Cancel `_ `BuyTrafficRequest_CancelResult `_ .. _type-splice-wallet-buytrafficrequest-buytrafficrequestcompleteresult-44764: **data** `BuyTrafficRequest_CompleteResult `_ .. _constr-splice-wallet-buytrafficrequest-buytrafficrequestcompleteresult-27129: `BuyTrafficRequest_CompleteResult `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - purchasedTraffic - `ContractId `_ MemberTraffic - * - trackingInfo - `BuyTrafficRequestTrackingInfo `_ - * - senderChangeAmulet - `Optional `_ (`ContractId `_ Amulet) - **instance** `GetField `_ \"purchasedTraffic\" `BuyTrafficRequest_CompleteResult `_ (`ContractId `_ MemberTraffic) **instance** `GetField `_ \"senderChangeAmulet\" `BuyTrafficRequest_CompleteResult `_ (`Optional `_ (`ContractId `_ Amulet)) **instance** `GetField `_ \"trackingInfo\" `BuyTrafficRequest_CompleteResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `SetField `_ \"purchasedTraffic\" `BuyTrafficRequest_CompleteResult `_ (`ContractId `_ MemberTraffic) **instance** `SetField `_ \"senderChangeAmulet\" `BuyTrafficRequest_CompleteResult `_ (`Optional `_ (`ContractId `_ Amulet)) **instance** `SetField `_ \"trackingInfo\" `BuyTrafficRequest_CompleteResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `HasExercise `_ `BuyTrafficRequest `_ `BuyTrafficRequest_Complete `_ `BuyTrafficRequest_CompleteResult `_ **instance** `HasFromAnyChoice `_ `BuyTrafficRequest `_ `BuyTrafficRequest_Complete `_ `BuyTrafficRequest_CompleteResult `_ **instance** `HasToAnyChoice `_ `BuyTrafficRequest `_ `BuyTrafficRequest_Complete `_ `BuyTrafficRequest_CompleteResult `_ .. _type-splice-wallet-buytrafficrequest-buytrafficrequestexpireresult-25706: **data** `BuyTrafficRequest_ExpireResult `_ .. _constr-splice-wallet-buytrafficrequest-buytrafficrequestexpireresult-5207: `BuyTrafficRequest_ExpireResult `_ .. list-table:: :widths: 15 10 30 :header-rows: 1 * - Field - Type - Description * - trackingInfo - `BuyTrafficRequestTrackingInfo `_ - **instance** `GetField `_ \"trackingInfo\" `BuyTrafficRequest_ExpireResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `SetField `_ \"trackingInfo\" `BuyTrafficRequest_ExpireResult `_ `BuyTrafficRequestTrackingInfo `_ **instance** `HasExercise `_ `BuyTrafficRequest `_ `BuyTrafficRequest_Expire `_ `BuyTrafficRequest_ExpireResult `_ **instance** `HasFromAnyChoice `_ `BuyTrafficRequest `_ `BuyTrafficRequest_Expire `_ `BuyTrafficRequest_ExpireResult `_ **instance** `HasToAnyChoice `_ `BuyTrafficRequest `_ `BuyTrafficRequest_Expire `_ `BuyTrafficRequest_ExpireResult `_