public OpenpayFeesSummary getSummary ( final int year , final int month ) throws OpenpayServiceException , ServiceUnavailableException { String path = String . format ( FEES_PATH , this . getMerchantId ( ) ) ; Map < String , String > params = new HashMap < String , String > ( ) ; params . put ( "year" , String . valueOf ( year ) ) ; params . put ( "month" , String . valueOf ( month ) ) ; return this . getJsonClient ( ) . get ( path , params , OpenpayFeesSummary . class ) ; }
Retrieve the summary of the charged fees in the given month . The amounts retrieved in the current month may change on a daily basis .