Class PatchWallet.Builder

  • Enclosing class:
    PatchWallet

    public static final class PatchWallet.Builder
    extends java.lang.Object
    • Method Detail

      • status

        public PatchWallet.Builder status​(WalletStatus status)
        Status of a wallet. - `active`: The wallet is available for use and has an enabled payment method. - `closed`: The wallet is no longer active and the corresponding payment method has been disabled.
      • status

        public PatchWallet.Builder status​(java.util.Optional<? extends WalletStatus> status)
        Status of a wallet. - `active`: The wallet is available for use and has an enabled payment method. - `closed`: The wallet is no longer active and the corresponding payment method has been disabled.
      • description

        public PatchWallet.Builder description​(java.util.Optional<java.lang.String> description)
      • metadata

        public PatchWallet.Builder metadata​(java.util.Map<java.lang.String,​java.lang.String> metadata)
        Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
      • metadata

        public PatchWallet.Builder metadata​(java.util.Optional<? extends java.util.Map<java.lang.String,​java.lang.String>> metadata)
        Free-form key-value pair list. Useful for storing information that is not captured elsewhere.