Package org.openapitools.client.model
Class Subscription
- java.lang.Object
-
- org.openapitools.client.model.Subscription
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-19T15:04:32.581406+03:00[Europe/Athens]") public class Subscription extends java.lang.Object
Subscription of a user (customer) to another user's arrays
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_CUSTOMER_NAMESPACE_UUID
static java.lang.String
SERIALIZED_NAME_ID
static java.lang.String
SERIALIZED_NAME_OWNER_NAMESPACE_UUID
static java.lang.String
SERIALIZED_NAME_PRICING
-
Constructor Summary
Constructors Constructor Description Subscription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Subscription
addPricingItem(Pricing pricingItem)
Subscription
customerNamespaceUuid(java.lang.String customerNamespaceUuid)
boolean
equals(java.lang.Object o)
java.lang.String
getCustomerNamespaceUuid()
Unique ID of the array (product) user (customer)java.lang.String
getId()
Unique ID of subscription as defined by Stripejava.lang.String
getOwnerNamespaceUuid()
Unique ID of the array (product) ownerjava.util.List<Pricing>
getPricing()
list of pricing used by this subscriptionint
hashCode()
Subscription
id(java.lang.String id)
Subscription
ownerNamespaceUuid(java.lang.String ownerNamespaceUuid)
Subscription
pricing(java.util.List<Pricing> pricing)
void
setCustomerNamespaceUuid(java.lang.String customerNamespaceUuid)
void
setId(java.lang.String id)
void
setOwnerNamespaceUuid(java.lang.String ownerNamespaceUuid)
void
setPricing(java.util.List<Pricing> pricing)
java.lang.String
toString()
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final java.lang.String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OWNER_NAMESPACE_UUID
public static final java.lang.String SERIALIZED_NAME_OWNER_NAMESPACE_UUID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CUSTOMER_NAMESPACE_UUID
public static final java.lang.String SERIALIZED_NAME_CUSTOMER_NAMESPACE_UUID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRICING
public static final java.lang.String SERIALIZED_NAME_PRICING
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public Subscription id(java.lang.String id)
-
getId
@Nullable public java.lang.String getId()
Unique ID of subscription as defined by Stripe- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
ownerNamespaceUuid
public Subscription ownerNamespaceUuid(java.lang.String ownerNamespaceUuid)
-
getOwnerNamespaceUuid
@Nullable public java.lang.String getOwnerNamespaceUuid()
Unique ID of the array (product) owner- Returns:
- ownerNamespaceUuid
-
setOwnerNamespaceUuid
public void setOwnerNamespaceUuid(java.lang.String ownerNamespaceUuid)
-
customerNamespaceUuid
public Subscription customerNamespaceUuid(java.lang.String customerNamespaceUuid)
-
getCustomerNamespaceUuid
@Nullable public java.lang.String getCustomerNamespaceUuid()
Unique ID of the array (product) user (customer)- Returns:
- customerNamespaceUuid
-
setCustomerNamespaceUuid
public void setCustomerNamespaceUuid(java.lang.String customerNamespaceUuid)
-
pricing
public Subscription pricing(java.util.List<Pricing> pricing)
-
addPricingItem
public Subscription addPricingItem(Pricing pricingItem)
-
getPricing
@Nullable public java.util.List<Pricing> getPricing()
list of pricing used by this subscription- Returns:
- pricing
-
setPricing
public void setPricing(java.util.List<Pricing> pricing)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-