Interface JsonSerializable
- All Known Implementing Classes:
BillingAddress, CreditCard, Device, Disposition, Email, EmailDomain, EmailDomainVisit, FactorsResponse, GeoIp2Location, InsightsResponse, IpAddress, IpRiskReason, Issuer, Phone, Reason, RiskScoreReason, ScoreIpAddress, ScoreResponse, ShippingAddress, Warning
public interface JsonSerializable
Interface for classes that can be serialized to JSON.
Provides default implementation for toJson() method.
-
Method Summary
-
Method Details
-
toJson
- Returns:
- JSON representation of this object.
- Throws:
IOException- if there is an error serializing the object to JSON.
-