All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.electrum.airtime.api.model.PurchaseReversal Maven / Gradle / Ivy

package io.electrum.airtime.api.model;

import io.electrum.vas.Utils;
import io.electrum.vas.model.BasicReversal;
import io.swagger.annotations.ApiModel;

/**
 * Reverse a previous {@link PurchaseRequest}. This may be due to a cancellation at the POS or because the original
 * {@link PurchaseRequest} is in an unknown state.
 **/

@ApiModel(description = "Reverse a previous {@link PurchaseRequest}. This may be due to a cancellation at the POS or because the original {@link PurchaseRequest} is in an unknown state.")
public class PurchaseReversal extends BasicReversal {

   @Override
   public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class PurchaseReversal {\n");

      sb.append("    id: ").append(Utils.toIndentedString(id)).append('\n');
      sb.append("    requestId: ").append(Utils.toIndentedString(requestId)).append('\n');
      sb.append("    thirdPartyIdentifiers: ").append(Utils.toIndentedString(thirdPartyIdentifiers)).append('\n');
      sb.append("    time: ").append(Utils.toIndentedString(time)).append('\n');
      sb.append("    reversalReason: ").append(Utils.toIndentedString(reversalReason)).append('\n');
      sb.append('}');
      return sb.toString();
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy