Class ProductCatalogImport

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

public class ProductCatalogImport extends StripeObject implements HasId
The ProductCatalogImport object tracks the long-running background process that handles uploading, processing and validation.
  • Constructor Details

    • ProductCatalogImport

      public ProductCatalogImport()
  • Method Details

    • getCreated

      public Instant getCreated()
      The time this ProductCatalogImport was created.
    • getFeedType

      public String getFeedType()
      The type of feed data being imported into the product catalog.

      One of inventory, pricing, or product.

    • 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.
    • getMetadata

      public Map<String,String> getMetadata()
      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.commerce.product_catalog_import.

    • getStatus

      public String getStatus()
      The current status of this ProductCatalogImport.

      One of awaiting_upload, failed, processing, succeeded, or succeeded_with_errors.

    • getStatusDetails

      public ProductCatalogImport.StatusDetails getStatusDetails()
      Details about the current import status.
    • setCreated

      public void setCreated(Instant created)
      The time this ProductCatalogImport was created.
    • setFeedType

      public void setFeedType(String feedType)
      The type of feed data being imported into the product catalog.

      One of inventory, pricing, or product.

    • setId

      public void setId(String id)
      The unique identifier for this ProductCatalogImport.
    • 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.
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      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.commerce.product_catalog_import.

    • setStatus

      public void setStatus(String status)
      The current status of this ProductCatalogImport.

      One of awaiting_upload, failed, processing, succeeded, or succeeded_with_errors.

    • setStatusDetails

      public void setStatusDetails(ProductCatalogImport.StatusDetails statusDetails)
      Details about the current import status.
    • 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 unique identifier for this ProductCatalogImport.
      Specified by:
      getId in interface HasId