Package org.cyclos.model.access.devices
Interface DeviceConfirmationField
-
- All Known Implementing Classes:
AcceptOrderConfirmationField,AccessClientActionConfirmationField,ActivateTrustedDeviceConfirmationField,ApproveTicketConfirmationField,BuyVouchersConfirmationField,ChangeAccountLimitsConfirmationField,ChargebackConfirmationField,EditProfileConfirmationField,GenerateNewPasswordConfirmationField,GenerateVouchersConfirmationField,ImportPaymentsConfirmationField,ImportUserPaymentsConfirmationField,ImportUserSendVouchersConfirmationField,LoginConfirmationField,ManageAddressConfirmationField,ManageContactInfoConfirmationField,ManageExternalPaymentConfirmationField,ManagePaymentRequestConfirmationField,ManagePhoneConfirmationField,ManageRecordConfirmationField,ManageRecurringPaymentConfirmationField,ManageRecurringPaymentFailedOccurrenceConfirmationField,ManageScheduledPaymentConfirmationField,ManageScheduledPaymentInstallmentConfirmationField,ManageTransactionAuthorizationConfirmationField,ManageVoucherConfirmationField,PerformExternalPaymentConfirmationField,PerformPaymentConfirmationField,PersonalizeNfcTagConfirmationField,RemoveTotpSecretConfirmationField,RunCustomOperationConfirmationField,RunCustomWizardConfirmationField,SecondaryLoginConfirmationField,SendVoucherConfirmationField,ShoppingCartCheckoutConfirmationField,TopUpVoucherConfirmationField
public interface DeviceConfirmationFieldRepresents a field in a device confirmation.- See Also:
DeviceConfirmationType
-
-
Field Summary
Fields Modifier and Type Field Description static DeviceConfirmationField[]EMPTY_ARRAY
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeviceConfirmationField[]dependOn()Returns an array with the fields this field depends on to be formatted correctly to form the final QR content.
Default implementation returns an empty array.default StringinputFieldName()Returns the field's name when used as an input, for example, as key in the fields map when creating a new confirmation.
By default it's the "camelized" version ofname()Stringname()Return the field's name, e.g forPerformPaymentConfirmationField.TYPEit returns 'TYPE'.DeviceConfirmationFieldTypetype()Return the field type, e.gDeviceConfirmationFieldType.PAYMENT_TYPE
-
-
-
Field Detail
-
EMPTY_ARRAY
static final DeviceConfirmationField[] EMPTY_ARRAY
-
-
Method Detail
-
dependOn
default DeviceConfirmationField[] dependOn()
Returns an array with the fields this field depends on to be formatted correctly to form the final QR content.
Default implementation returns an empty array. NOTE: The dependency hierarchy is very simple. It's a tree with only two levels: the root containing the dependent field and in the next level the fields the root depends on.
-
inputFieldName
default String inputFieldName()
Returns the field's name when used as an input, for example, as key in the fields map when creating a new confirmation.
By default it's the "camelized" version ofname()
-
name
String name()
Return the field's name, e.g forPerformPaymentConfirmationField.TYPEit returns 'TYPE'.
-
type
DeviceConfirmationFieldType type()
Return the field type, e.gDeviceConfirmationFieldType.PAYMENT_TYPE
-
-