Add payment activation capability.

This commit is contained in:
Cody Henthorne
2022-12-21 10:01:20 -05:00
committed by Greyson Parrelli
parent 96b2051400
commit a13599ae2a
15 changed files with 137 additions and 267 deletions

View File

@@ -1024,6 +1024,10 @@ public class Recipient {
return capabilities.getPnpCapability();
}
public @NonNull Capability getPaymentActivationCapability() {
return capabilities.getPaymentActivation();
}
public @Nullable byte[] getProfileKey() {
return profileKey;
}
@@ -1213,6 +1217,10 @@ public class Recipient {
return value;
}
public boolean isSupported() {
return this == SUPPORTED;
}
public static Capability deserialize(int value) {
switch (value) {
case 0: return UNKNOWN;