
com.commercetools.payment.model.impl.PaymentTransactionCreationResultImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common Show documentation
Show all versions of common Show documentation
The commercetools java payment project intend is to make payment integration easy
The newest version!
package com.commercetools.payment.model.impl;
import com.commercetools.payment.actions.HandlingTask;
import com.commercetools.payment.actions.OperationResult;
import com.commercetools.payment.model.PaymentTransactionCreationResult;
import io.sphere.sdk.payments.Payment;
/**
* Created by mgatz on 7/28/16.
*/
public class PaymentTransactionCreationResultImpl extends AbstractPaymentOperationResult implements PaymentTransactionCreationResult {
private HandlingTask handlingTask;
public PaymentTransactionCreationResultImpl(
OperationResult operationResult,
Payment payment,
HandlingTask handlingTask) {
super(operationResult, payment);
this.handlingTask = handlingTask;
}
public PaymentTransactionCreationResultImpl(
OperationResult operationResult,
Payment payment,
HandlingTask handlingTask,
String message,
Throwable exception) {
super(operationResult, payment, message, exception);
this.handlingTask = handlingTask;
}
@Override
public HandlingTask getHandlingTask() {
return this.handlingTask;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy