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 TypeMethodDescriptionbooleanOverride the Equals method, convert objects to Json strings for comparison.inthashCode()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
-
prettyPrint
Pretty print the JSON representation of the object.- Returns:
- the JSON representation of the object.
-
hashCode
-
equals
-