public class MagnetMethod extends Object implements DepositMethod<String>
| Modifier and Type | Field and Description |
|---|---|
static String |
CONDITION_AMOUNT |
static String |
CONDITION_EXPIRES |
static String |
CONDITION_MULTI_USE |
| Constructor and Description |
|---|
MagnetMethod() |
| Modifier and Type | Method and Description |
|---|---|
String |
build(ConditionalDepositAddress conditions) |
ConditionalDepositAddress |
parse(String method) |
void |
setCurl(ICurl curl) |
public static final String CONDITION_EXPIRES
public static final String CONDITION_MULTI_USE
public static final String CONDITION_AMOUNT
public void setCurl(ICurl curl)
public ConditionalDepositAddress parse(String method) throws MagnetError
parse in interface DepositMethod<String>MagnetErrorpublic String build(ConditionalDepositAddress conditions)
build in interface DepositMethod<String>Copyright © 2019. All rights reserved.