Class ReferencePrice
- java.lang.Object
-
- software.amazon.spapi.models.pricing.v2022_05_01.ReferencePrice
-
public class ReferencePrice extends java.lang.Object
The reference price for the specified ASIN `marketplaceId` combination.
-
-
Constructor Summary
Constructors Constructor Description ReferencePrice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getName()
The name of the reference price, such as `CompetitivePriceThreshold` and `WasPrice`.MoneyType
getPrice()
Get priceint
hashCode()
ReferencePrice
name(java.lang.String name)
ReferencePrice
price(MoneyType price)
void
setName(java.lang.String name)
void
setPrice(MoneyType price)
java.lang.String
toString()
-
-
-
Method Detail
-
name
public ReferencePrice name(java.lang.String name)
-
getName
public java.lang.String getName()
The name of the reference price, such as `CompetitivePriceThreshold` and `WasPrice`. For reference price definitions, refer to the [Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
price
public ReferencePrice price(MoneyType price)
-
getPrice
public MoneyType getPrice()
Get price- Returns:
- price
-
setPrice
public void setPrice(MoneyType price)
-
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
-
-