Package Torello.Browser.BrowserAPI
Class Autofill.CreditCard
- java.lang.Object
-
- Torello.Browser.BaseType<Autofill.CreditCard>
-
- Torello.Browser.BrowserAPI.Autofill.CreditCard
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Autofill
public static class Autofill.CreditCard extends BaseType<Autofill.CreditCard> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theAutofilldomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.[No Description Provided by Google]- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/Autofill.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/Autofill.java
File Size: 2,165 Bytes Line Count: 59 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Autofill$$CreditCard$$.java
- Open New Browser-Tab: Autofill$$CreditCard$$.java
File Size: 9,337 Bytes Line Count: 227 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description Stringcvc3-digit card verification code.StringexpiryMonth2-digit expiry month.StringexpiryYear4-digit expiry year.StringnameName of the credit card owner.Stringnumber16-digit credit card number.-
Fields inherited from class Torello.Browser.BaseType
domain, helperSingleton, isPresent, numFields
-
-
Constructor Summary
Constructors Constructor Description CreditCard(ReadOnlyList<Boolean> isPresent, String number, String name, String expiryMonth, String expiryYear, String cvc)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Autofill.CreditCardfromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<Autofill.CreditCard>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
number
public final java.lang.String number
16-digit credit card number.
-
name
public final java.lang.String name
Name of the credit card owner.
-
expiryMonth
public final java.lang.String expiryMonth
2-digit expiry month.
-
expiryYear
public final java.lang.String expiryYear
4-digit expiry year.
-
cvc
public final java.lang.String cvc
3-digit card verification code.
-
-
Constructor Detail
-
CreditCard
public CreditCard(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String number, java.lang.String name, java.lang.String expiryMonth, java.lang.String expiryYear, java.lang.String cvc)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Autofill.CreditCard fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Autofill.CreditCard> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-