Class PKPass

java.lang.Object
de.brendamour.jpasskit.PKPass
All Implemented Interfaces:
Serializable, Cloneable

public class PKPass extends Object implements Cloneable, Serializable
See Also:
  • Field Details

    • formatVersion

      protected int formatVersion
    • serialNumber

      protected String serialNumber
    • passTypeIdentifier

      protected String passTypeIdentifier
    • webServiceURL

      protected URL webServiceURL
    • authenticationToken

      protected String authenticationToken
    • description

      protected String description
    • teamIdentifier

      protected String teamIdentifier
    • organizationName

      protected String organizationName
    • logoText

      protected String logoText
    • foregroundColor

      protected String foregroundColor
    • backgroundColor

      protected String backgroundColor
    • labelColor

      protected String labelColor
    • groupingIdentifier

      protected String groupingIdentifier
    • beacons

      protected List<PKBeacon> beacons
    • locations

      protected List<PKLocation> locations
    • barcodes

      protected List<PKBarcode> barcodes
    • eventTicket

      protected PKEventTicket eventTicket
    • coupon

      protected PKCoupon coupon
    • storeCard

      protected PKStoreCard storeCard
    • boardingPass

      protected PKBoardingPass boardingPass
    • generic

      protected PKGenericPass generic
    • appLaunchURL

      protected String appLaunchURL
    • associatedStoreIdentifiers

      protected List<Long> associatedStoreIdentifiers
    • associatedApps

      protected List<PWAssociatedApp> associatedApps
    • userInfo

      protected Map<String,Object> userInfo
    • maxDistance

      protected Long maxDistance
    • relevantDate

      protected Instant relevantDate
    • expirationDate

      protected Instant expirationDate
    • voided

      protected boolean voided
    • nfc

      protected PKNFC nfc
    • sharingProhibited

      protected boolean sharingProhibited
    • semantics

      protected PKSemantics semantics
  • Constructor Details

    • PKPass

      protected PKPass()
  • Method Details

    • getSerialNumber

      public String getSerialNumber()
    • getPassTypeIdentifier

      public String getPassTypeIdentifier()
    • getWebServiceURL

      public URL getWebServiceURL()
    • getAppLaunchURL

      public String getAppLaunchURL()
    • getAuthenticationToken

      public String getAuthenticationToken()
    • getFormatVersion

      public int getFormatVersion()
    • getDescription

      public String getDescription()
    • getTeamIdentifier

      public String getTeamIdentifier()
    • isVoided

      public boolean isVoided()
    • getOrganizationName

      public String getOrganizationName()
    • getUserInfo

      public Map<String,Object> getUserInfo()
    • getLogoText

      public String getLogoText()
    • getForegroundColor

      public String getForegroundColor()
    • getBackgroundColor

      public String getBackgroundColor()
    • getBeacons

      public List<PKBeacon> getBeacons()
    • getMaxDistance

      public Long getMaxDistance()
    • getLocations

      public List<PKLocation> getLocations()
    • getBarcodes

      public List<PKBarcode> getBarcodes()
    • getEventTicket

      public PKEventTicket getEventTicket()
    • getCoupon

      public PKCoupon getCoupon()
    • getStoreCard

      public PKStoreCard getStoreCard()
    • getBoardingPass

      public PKBoardingPass getBoardingPass()
    • getGeneric

      public PKGenericPass getGeneric()
    • getLabelColor

      public String getLabelColor()
    • getGroupingIdentifier

      public String getGroupingIdentifier()
    • getAssociatedStoreIdentifiers

      public List<Long> getAssociatedStoreIdentifiers()
    • getAssociatedApps

      public List<PWAssociatedApp> getAssociatedApps()
    • getRelevantDate

      public Instant getRelevantDate()
    • getExpirationDate

      public Instant getExpirationDate()
    • getNFC

      public PKNFC getNFC()
    • isSharingProhibited

      public boolean isSharingProhibited()
    • clone

      protected PKPass clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static PKPassBuilder builder()
    • builder

      public static PKPassBuilder builder(PKPass pass)