@Test public void testToString() { String expectedResult = ReflectionToStringBuilder.toString(charge); String actualResult = charge.toString(); Assert.assertTrue(actualResult.contains(expectedResult)); }
@Override public String toString() { return ReflectionToStringBuilder.toString(this); }
Charge extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } }
Charge extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Charge(); private  Charge(Builder builder); }
Charge extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Charge(); private  Charge(Builder builder); String getId(); void setId(String id); Date getCreated(); void setCreated(Date created); ChargeStatus getStatus(); void setStatus(ChargeStatus status); BigDecimal getAmount(); void setAmount(BigDecimal amount); String getCurrency(); void setCurrency(String currency); String getToken(); void setToken(String token); Card getCard(); void setCard(Card card); PaymentContext getContext(); void setContext(PaymentContext context); Boolean getCapture(); void setCapture(Boolean capture); String getAuthCode(); void setAuthCode(String authCode); Capture getCaptureDetail(); void setCaptureDetail(Capture captureDetail); Refund[] getRefundDetail(); void setRefundDetail(Refund[] refundDetail); String getDescription(); void setDescription(String description); String getAvsStreet(); void setAvsStreet(String avsStreet); String getAvsZip(); void setAvsZip(String avsZip); String getCardSecurityCodeMatch(); void setCardSecurityCodeMatch(String cardSecurityCodeMatch); String getAppType(); void setAppType(String appType); String getCardOnFile(); void setCardOnFile(String cardOnFile); @Override String toString(); }
Charge extends Entity { @Override public String toString() { return ReflectionToStringBuilder.toString(this); } Charge(); private  Charge(Builder builder); String getId(); void setId(String id); Date getCreated(); void setCreated(Date created); ChargeStatus getStatus(); void setStatus(ChargeStatus status); BigDecimal getAmount(); void setAmount(BigDecimal amount); String getCurrency(); void setCurrency(String currency); String getToken(); void setToken(String token); Card getCard(); void setCard(Card card); PaymentContext getContext(); void setContext(PaymentContext context); Boolean getCapture(); void setCapture(Boolean capture); String getAuthCode(); void setAuthCode(String authCode); Capture getCaptureDetail(); void setCaptureDetail(Capture captureDetail); Refund[] getRefundDetail(); void setRefundDetail(Refund[] refundDetail); String getDescription(); void setDescription(String description); String getAvsStreet(); void setAvsStreet(String avsStreet); String getAvsZip(); void setAvsZip(String avsZip); String getCardSecurityCodeMatch(); void setCardSecurityCodeMatch(String cardSecurityCodeMatch); String getAppType(); void setAppType(String appType); String getCardOnFile(); void setCardOnFile(String cardOnFile); @Override String toString();  }