Package com.easypost.model
Class EasyPostResource
java.lang.Object
com.easypost.model.EasyPostResource
- Direct Known Subclasses:
AddressVerifications
,ApiKey
,ApiKeys
,BaseAddress
,BaseUser
,Batch
,BetaPaymentRefund
,Billing
,Brand
,CarrierAccount
,CarrierMetadata
,CarrierType
,Claim
,CustomsInfo
,CustomsItem
,Event
,EventData
,Field
,Fields
,Form
,Insurance
,Order
,PaginatedCollection
,Parcel
,Payload
,PaymentMethod
,PaymentMethodObject
,Pickup
,PostageLabel
,Rate
,Refund
,Report
,ScanForm
,Shipment
,TaxIdentifier
,Tracker
,Webhook
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Override the Equals method, convert objects to Json strings for comparison.int
hashCode()
Override the hashCode method because it is needed when overriding equals().Pretty print the JSON representation of the object.toString()
Returns a string representation of the object.
-
Constructor Details
-
EasyPostResource
public EasyPostResource()
-
-
Method Details
-
toString
Returns a string representation of the object. -
prettyPrint
Pretty print the JSON representation of the object.- Returns:
- the JSON representation of the object.
-
hashCode
public int hashCode()Override the hashCode method because it is needed when overriding equals(). -
equals
Override the Equals method, convert objects to Json strings for comparison.
-