Exemplo n.º 1
0
 @Override
 public GiftCard createFromParcel(android.os.Parcel in) {
   GiftCard instance =
       new GiftCard(
           com.clover.sdk.v3.JsonParcelHelper.ObjectWrapper.CREATOR
               .createFromParcel(in)
               .unwrap());
   instance.bundle = in.readBundle(getClass().getClassLoader());
   instance.changeLog = in.readBundle();
   return instance;
 }
Exemplo n.º 2
0
 @Override
 public Object extractValue(GiftCard instance) {
   return instance.extractDeviceSerial();
 }
Exemplo n.º 3
0
 @Override
 public Object extractValue(GiftCard instance) {
   return instance.extractIsManuallyEntered();
 }
Exemplo n.º 4
0
 @Override
 public Object extractValue(GiftCard instance) {
   return instance.extractCardNumber();
 }
Exemplo n.º 5
0
 @Override
 public Object extractValue(GiftCard instance) {
   return instance.extractTrack2();
 }
Exemplo n.º 6
0
 /**
  * Create a copy of this instance that contains only fields that were set after the constructor
  * was called.
  */
 public GiftCard copyChanges() {
   GiftCard copy = new GiftCard();
   copy.mergeChanges(this);
   copy.resetChangeLog();
   return copy;
 }
Exemplo n.º 7
0
 /**
  * Constructs a new instance that is a deep copy of the source instance. It does not copy the
  * bundle or changelog.
  */
 public GiftCard(GiftCard src) {
   if (src.jsonObject != null) {
     this.jsonObject = com.clover.sdk.v3.JsonHelper.deepCopy(src.getJSONObject());
   }
 }