Ejemplo 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;
 }
Ejemplo n.º 2
0
 @Override
 public Object extractValue(GiftCard instance) {
   return instance.extractDeviceSerial();
 }
Ejemplo n.º 3
0
 @Override
 public Object extractValue(GiftCard instance) {
   return instance.extractIsManuallyEntered();
 }
Ejemplo n.º 4
0
 @Override
 public Object extractValue(GiftCard instance) {
   return instance.extractCardNumber();
 }
Ejemplo n.º 5
0
 @Override
 public Object extractValue(GiftCard instance) {
   return instance.extractTrack2();
 }
Ejemplo 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;
 }
Ejemplo 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());
   }
 }