@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; }
@Override public Object extractValue(GiftCard instance) { return instance.extractDeviceSerial(); }
@Override public Object extractValue(GiftCard instance) { return instance.extractIsManuallyEntered(); }
@Override public Object extractValue(GiftCard instance) { return instance.extractCardNumber(); }
@Override public Object extractValue(GiftCard instance) { return instance.extractTrack2(); }
/** * 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; }
/** * 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()); } }