Class PayPalLogic
- java.lang.Object
-
- net.officefloor.tutorial.paypalhttpserver.PayPalLogic
-
public class PayPalLogic extends java.lang.ObjectPayPal logic.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayPalLogic.CapturedOrderstatic classPayPalLogic.CaptureOrderstatic classPayPalLogic.Configurationstatic classPayPalLogic.CreatedOrderstatic classPayPalLogic.CreateOrder
-
Constructor Summary
Constructors Constructor Description PayPalLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcaptureOrder(PayPalLogic.CaptureOrder captureOrder, com.paypal.core.PayPalHttpClient client, ObjectResponse<PayPalLogic.CapturedOrder> response)voidconfigure(PayPalLogic.Configuration configuration, InMemoryPayPalConfigurationRepository repository)voidcreateOrder(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
-
-