Class PayPalLogic
- java.lang.Object
-
- net.officefloor.tutorial.paypalhttpserver.PayPalLogic
-
public class PayPalLogic extends java.lang.Object
PayPal logic.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PayPalLogic.CapturedOrder
static class
PayPalLogic.CaptureOrder
static class
PayPalLogic.Configuration
static class
PayPalLogic.CreatedOrder
static class
PayPalLogic.CreateOrder
-
Constructor Summary
Constructors Constructor Description PayPalLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
captureOrder(PayPalLogic.CaptureOrder captureOrder, com.paypal.core.PayPalHttpClient client, ObjectResponse<PayPalLogic.CapturedOrder> response)
void
configure(PayPalLogic.Configuration configuration, InMemoryPayPalConfigurationRepository repository)
void
createOrder(PayPalLogic.CreateOrder createOrder, com.paypal.core.PayPalHttpClient client, ObjectResponse<PayPalLogic.CreatedOrder> response)
-
-
-
Method Detail
-
configure
public void configure(PayPalLogic.Configuration configuration, InMemoryPayPalConfigurationRepository repository)
-
createOrder
public void createOrder(PayPalLogic.CreateOrder createOrder, com.paypal.core.PayPalHttpClient client, ObjectResponse<PayPalLogic.CreatedOrder> response) throws java.io.IOException
- Throws:
java.io.IOException
-
captureOrder
public void captureOrder(PayPalLogic.CaptureOrder captureOrder, com.paypal.core.PayPalHttpClient client, ObjectResponse<PayPalLogic.CapturedOrder> response) throws java.io.IOException
- Throws:
java.io.IOException
-
-