Class Profile

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.Profile
All Implemented Interfaces:
HasId, StripeObjectInterface

public class Profile extends StripeObject implements HasId
  • Constructor Details

    • Profile

      public Profile()
  • Method Details

    • getCreated

      public Instant getCreated()
      Timestamp of when the object was created.
    • getCustomer

      public String getCustomer()
      The ID of the customer object.
    • getDefaultPaymentMethod

      public String getDefaultPaymentMethod()
      The ID of the payment method object.
    • getDisplayName

      public String getDisplayName()
      A customer-facing name for the billing profile. Maximum length of 250 characters.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getLookupKey

      public String getLookupKey()
      An internal key you can use to search for a particular billing profile. Maximum length of 200 characters.
    • getMetadata

      public Map<String,String> getMetadata()
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value of the object field.

      Equal to v2.billing.profile.

    • getStatus

      public String getStatus()
      The current status of the billing profile.

      One of active, or inactive.

    • setCreated

      public void setCreated(Instant created)
      Timestamp of when the object was created.
    • setCustomer

      public void setCustomer(String customer)
      The ID of the customer object.
    • setDefaultPaymentMethod

      public void setDefaultPaymentMethod(String defaultPaymentMethod)
      The ID of the payment method object.
    • setDisplayName

      public void setDisplayName(String displayName)
      A customer-facing name for the billing profile. Maximum length of 250 characters.
    • setId

      public void setId(String id)
      The ID of the billing profile object.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setLookupKey

      public void setLookupKey(String lookupKey)
      An internal key you can use to search for a particular billing profile. Maximum length of 200 characters.
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value of the object field.

      Equal to v2.billing.profile.

    • setStatus

      public void setStatus(String status)
      The current status of the billing profile.

      One of active, or inactive.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getId

      public String getId()
      The ID of the billing profile object.
      Specified by:
      getId in interface HasId