From cb9894e7dd9a99eb587c3fe410b03597cea2b875 Mon Sep 17 00:00:00 2001 From: Mikael DELSOL Date: Wed, 22 Mar 2017 22:50:05 +0100 Subject: [PATCH] fix definition of cpp_* properties based on https://github.com/WsdlToPhp/PackageGenerator/issues/77 fixes --- ...SetAccessPermissionsRequestDetailsType.php | 34 ++++++++++--- .../SetAuthFlowParamRequestDetailsType.php | 34 ++++++++++--- ...omerBillingAgreementRequestDetailsType.php | 32 +++++++++--- .../SetExpressCheckoutRequestDetailsType.php | 51 ++++++++++++++----- 4 files changed, 115 insertions(+), 36 deletions(-) diff --git a/src/StructType/SetAccessPermissionsRequestDetailsType.php b/src/StructType/SetAccessPermissionsRequestDetailsType.php index 0b46585..7466d5d 100644 --- a/src/StructType/SetAccessPermissionsRequestDetailsType.php +++ b/src/StructType/SetAccessPermissionsRequestDetailsType.php @@ -86,18 +86,36 @@ class SetAccessPermissionsRequestDetailsType extends AbstractStructBase public $PageStyle; /** * The cpp_header_image + * Meta informations extracted from the WSDL + * - documentation: A URL for the image you want to appear at the top left of the flow page. The image has a maximum size of 750 pixels wide by 90 pixels high. PayPal recommends that you provide an image that is stored on a secure (https) server. + * Optional Character length and limitations: 127 + * - minOccurs: 0 + * @var string */ public $cpp_header_image; /** * The cpp_header_border_color + * Meta informations extracted from the WSDL + * - documentation: Sets the border color around the header of the flow page. The border is a 2-pixel perimeter around the header space, which is 750 pixels wide by 90 pixels high. Optional Character length and limitations: Six character HTML + * hexadecimal color code in ASCII + * - minOccurs: 0 + * @var string */ public $cpp_header_border_color; /** * The cpp_header_back_color + * Meta informations extracted from the WSDL + * - documentation: Sets the background color for the header of the flow page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII + * - minOccurs: 0 + * @var string */ public $cpp_header_back_color; /** * The cpp_payflow_color + * Meta informations extracted from the WSDL + * - documentation: Sets the background color for the payment page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII + * - minOccurs: 0 + * @var string */ public $cpp_payflow_color; /** @@ -416,7 +434,7 @@ public function setPageStyle($pageStyle = null) } /** * Get cpp_header_image value - * @return cpp_header_image + * @return string|null */ public function getCpp_header_image() { @@ -424,7 +442,7 @@ public function getCpp_header_image() } /** * Set cpp_header_image value - * @param cpp_header_image $cpp_header_image + * @param string $cpp_header_image * @return \PayPal\StructType\SetAccessPermissionsRequestDetailsType */ public function setCpp_header_image($cpp_header_image = null) @@ -438,7 +456,7 @@ public function setCpp_header_image($cpp_header_image = null) } /** * Get cpp_header_border_color value - * @return cpp_header_border_color + * @return string|null */ public function getCpp_header_border_color() { @@ -446,7 +464,7 @@ public function getCpp_header_border_color() } /** * Set cpp_header_border_color value - * @param cpp_header_border_color $cpp_header_border_color + * @param string $cpp_header_border_color * @return \PayPal\StructType\SetAccessPermissionsRequestDetailsType */ public function setCpp_header_border_color($cpp_header_border_color = null) @@ -460,7 +478,7 @@ public function setCpp_header_border_color($cpp_header_border_color = null) } /** * Get cpp_header_back_color value - * @return cpp_header_back_color + * @return string|null */ public function getCpp_header_back_color() { @@ -468,7 +486,7 @@ public function getCpp_header_back_color() } /** * Set cpp_header_back_color value - * @param cpp_header_back_color $cpp_header_back_color + * @param string $cpp_header_back_color * @return \PayPal\StructType\SetAccessPermissionsRequestDetailsType */ public function setCpp_header_back_color($cpp_header_back_color = null) @@ -482,7 +500,7 @@ public function setCpp_header_back_color($cpp_header_back_color = null) } /** * Get cpp_payflow_color value - * @return cpp_payflow_color + * @return string|null */ public function getCpp_payflow_color() { @@ -490,7 +508,7 @@ public function getCpp_payflow_color() } /** * Set cpp_payflow_color value - * @param cpp_payflow_color $cpp_payflow_color + * @param string $cpp_payflow_color * @return \PayPal\StructType\SetAccessPermissionsRequestDetailsType */ public function setCpp_payflow_color($cpp_payflow_color = null) diff --git a/src/StructType/SetAuthFlowParamRequestDetailsType.php b/src/StructType/SetAuthFlowParamRequestDetailsType.php index 283f305..f12a5ae 100644 --- a/src/StructType/SetAuthFlowParamRequestDetailsType.php +++ b/src/StructType/SetAuthFlowParamRequestDetailsType.php @@ -100,18 +100,36 @@ class SetAuthFlowParamRequestDetailsType extends AbstractStructBase public $PageStyle; /** * The cpp_header_image + * Meta informations extracted from the WSDL + * - documentation: A URL for the image you want to appear at the top left of the flow page. The image has a maximum size of 750 pixels wide by 90 pixels high. PayPal recommends that you provide an image that is stored on a secure (https) server. + * Optional Character length and limitations: 127 + * - minOccurs: 0 + * @var string */ public $cpp_header_image; /** * The cpp_header_border_color + * Meta informations extracted from the WSDL + * - documentation: Sets the border color around the header of the flow page. The border is a 2-pixel perimeter around the header space, which is 750 pixels wide by 90 pixels high. Optional Character length and limitations: Six character HTML + * hexadecimal color code in ASCII + * - minOccurs: 0 + * @var string */ public $cpp_header_border_color; /** * The cpp_header_back_color + * Meta informations extracted from the WSDL + * - documentation: Sets the background color for the header of the flow page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII + * - minOccurs: 0 + * @var string */ public $cpp_header_back_color; /** * The cpp_payflow_color + * Meta informations extracted from the WSDL + * - documentation: Sets the background color for the payment page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII + * - minOccurs: 0 + * @var string */ public $cpp_payflow_color; /** @@ -444,7 +462,7 @@ public function setPageStyle($pageStyle = null) } /** * Get cpp_header_image value - * @return cpp_header_image + * @return string|null */ public function getCpp_header_image() { @@ -452,7 +470,7 @@ public function getCpp_header_image() } /** * Set cpp_header_image value - * @param cpp_header_image $cpp_header_image + * @param string $cpp_header_image * @return \PayPal\StructType\SetAuthFlowParamRequestDetailsType */ public function setCpp_header_image($cpp_header_image = null) @@ -466,7 +484,7 @@ public function setCpp_header_image($cpp_header_image = null) } /** * Get cpp_header_border_color value - * @return cpp_header_border_color + * @return string|null */ public function getCpp_header_border_color() { @@ -474,7 +492,7 @@ public function getCpp_header_border_color() } /** * Set cpp_header_border_color value - * @param cpp_header_border_color $cpp_header_border_color + * @param string $cpp_header_border_color * @return \PayPal\StructType\SetAuthFlowParamRequestDetailsType */ public function setCpp_header_border_color($cpp_header_border_color = null) @@ -488,7 +506,7 @@ public function setCpp_header_border_color($cpp_header_border_color = null) } /** * Get cpp_header_back_color value - * @return cpp_header_back_color + * @return string|null */ public function getCpp_header_back_color() { @@ -496,7 +514,7 @@ public function getCpp_header_back_color() } /** * Set cpp_header_back_color value - * @param cpp_header_back_color $cpp_header_back_color + * @param string $cpp_header_back_color * @return \PayPal\StructType\SetAuthFlowParamRequestDetailsType */ public function setCpp_header_back_color($cpp_header_back_color = null) @@ -510,7 +528,7 @@ public function setCpp_header_back_color($cpp_header_back_color = null) } /** * Get cpp_payflow_color value - * @return cpp_payflow_color + * @return string|null */ public function getCpp_payflow_color() { @@ -518,7 +536,7 @@ public function getCpp_payflow_color() } /** * Set cpp_payflow_color value - * @param cpp_payflow_color $cpp_payflow_color + * @param string $cpp_payflow_color * @return \PayPal\StructType\SetAuthFlowParamRequestDetailsType */ public function setCpp_payflow_color($cpp_payflow_color = null) diff --git a/src/StructType/SetCustomerBillingAgreementRequestDetailsType.php b/src/StructType/SetCustomerBillingAgreementRequestDetailsType.php index 575fedd..4e07074 100644 --- a/src/StructType/SetCustomerBillingAgreementRequestDetailsType.php +++ b/src/StructType/SetCustomerBillingAgreementRequestDetailsType.php @@ -53,18 +53,34 @@ class SetCustomerBillingAgreementRequestDetailsType extends AbstractStructBase public $PageStyle; /** * The cpp_header_image + * Meta informations extracted from the WSDL + * - maxOccurs: 1 + * - minOccurs: 0 + * @var string */ public $cpp_header_image; /** * The cpp_header_border_color + * Meta informations extracted from the WSDL + * - maxOccurs: 1 + * - minOccurs: 0 + * @var string */ public $cpp_header_border_color; /** * The cpp_header_back_color + * Meta informations extracted from the WSDL + * - maxOccurs: 1 + * - minOccurs: 0 + * @var string */ public $cpp_header_back_color; /** * The cpp_payflow_color + * Meta informations extracted from the WSDL + * - maxOccurs: 1 + * - minOccurs: 0 + * @var string */ public $cpp_payflow_color; /** @@ -231,7 +247,7 @@ public function setPageStyle($pageStyle = null) } /** * Get cpp_header_image value - * @return cpp_header_image + * @return string|null */ public function getCpp_header_image() { @@ -239,7 +255,7 @@ public function getCpp_header_image() } /** * Set cpp_header_image value - * @param cpp_header_image $cpp_header_image + * @param string $cpp_header_image * @return \PayPal\StructType\SetCustomerBillingAgreementRequestDetailsType */ public function setCpp_header_image($cpp_header_image = null) @@ -253,7 +269,7 @@ public function setCpp_header_image($cpp_header_image = null) } /** * Get cpp_header_border_color value - * @return cpp_header_border_color + * @return string|null */ public function getCpp_header_border_color() { @@ -261,7 +277,7 @@ public function getCpp_header_border_color() } /** * Set cpp_header_border_color value - * @param cpp_header_border_color $cpp_header_border_color + * @param string $cpp_header_border_color * @return \PayPal\StructType\SetCustomerBillingAgreementRequestDetailsType */ public function setCpp_header_border_color($cpp_header_border_color = null) @@ -275,7 +291,7 @@ public function setCpp_header_border_color($cpp_header_border_color = null) } /** * Get cpp_header_back_color value - * @return cpp_header_back_color + * @return string|null */ public function getCpp_header_back_color() { @@ -283,7 +299,7 @@ public function getCpp_header_back_color() } /** * Set cpp_header_back_color value - * @param cpp_header_back_color $cpp_header_back_color + * @param string $cpp_header_back_color * @return \PayPal\StructType\SetCustomerBillingAgreementRequestDetailsType */ public function setCpp_header_back_color($cpp_header_back_color = null) @@ -297,7 +313,7 @@ public function setCpp_header_back_color($cpp_header_back_color = null) } /** * Get cpp_payflow_color value - * @return cpp_payflow_color + * @return string|null */ public function getCpp_payflow_color() { @@ -305,7 +321,7 @@ public function getCpp_payflow_color() } /** * Set cpp_payflow_color value - * @param cpp_payflow_color $cpp_payflow_color + * @param string $cpp_payflow_color * @return \PayPal\StructType\SetCustomerBillingAgreementRequestDetailsType */ public function setCpp_payflow_color($cpp_payflow_color = null) diff --git a/src/StructType/SetExpressCheckoutRequestDetailsType.php b/src/StructType/SetExpressCheckoutRequestDetailsType.php index 8be5602..701b2ac 100644 --- a/src/StructType/SetExpressCheckoutRequestDetailsType.php +++ b/src/StructType/SetExpressCheckoutRequestDetailsType.php @@ -173,26 +173,53 @@ class SetExpressCheckoutRequestDetailsType extends AbstractStructBase public $PageStyle; /** * The cpp_header_image + * Meta informations extracted from the WSDL + * - documentation: A URL for the image you want to appear at the top left of the payment page. The image has a maximum size of 750 pixels wide by 90 pixels high. PayPal recommends that you provide an image that is stored on a secure (https) server. + * Optional Character length and limitations: 127 + * - minOccurs: 0 + * @var string */ public $cpp_header_image; /** * The cpp_header_border_color + * Meta informations extracted from the WSDL + * - documentation: Sets the border color around the header of the payment page. The border is a 2-pixel perimeter around the header space, which is 750 pixels wide by 90 pixels high. Optional Character length and limitations: Six character HTML + * hexadecimal color code in ASCII + * - minOccurs: 0 + * @var string */ public $cpp_header_border_color; /** * The cpp_header_back_color + * Meta informations extracted from the WSDL + * - documentation: Sets the background color for the header of the payment page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII + * - minOccurs: 0 + * @var string */ public $cpp_header_back_color; /** * The cpp_payflow_color + * Meta informations extracted from the WSDL + * - documentation: Sets the background color for the payment page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII + * - minOccurs: 0 + * @var string */ public $cpp_payflow_color; /** * The cpp_cart_border_color + * Meta informations extracted from the WSDL + * - documentation: Sets the cart gradient color for the Mini Cart on 1X flow. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII + * - minOccurs: 0 + * @var string */ public $cpp_cart_border_color; /** * The cpp_logo_image + * Meta informations extracted from the WSDL + * - documentation: A URL for the image you want to appear above the mini-cart. The image has a maximum size of 190 pixels wide by 60 pixels high. PayPal recommends that you provide an image that is stored on a secure (https) server. Optional Character + * length and limitations: 127 + * - minOccurs: 0 + * @var string */ public $cpp_logo_image; /** @@ -1181,7 +1208,7 @@ public function setPageStyle($pageStyle = null) } /** * Get cpp_header_image value - * @return cpp_header_image + * @return string|null */ public function getCpp_header_image() { @@ -1189,7 +1216,7 @@ public function getCpp_header_image() } /** * Set cpp_header_image value - * @param cpp_header_image $cpp_header_image + * @param string $cpp_header_image * @return \PayPal\StructType\SetExpressCheckoutRequestDetailsType */ public function setCpp_header_image($cpp_header_image = null) @@ -1203,7 +1230,7 @@ public function setCpp_header_image($cpp_header_image = null) } /** * Get cpp_header_border_color value - * @return cpp_header_border_color + * @return string|null */ public function getCpp_header_border_color() { @@ -1211,7 +1238,7 @@ public function getCpp_header_border_color() } /** * Set cpp_header_border_color value - * @param cpp_header_border_color $cpp_header_border_color + * @param string $cpp_header_border_color * @return \PayPal\StructType\SetExpressCheckoutRequestDetailsType */ public function setCpp_header_border_color($cpp_header_border_color = null) @@ -1225,7 +1252,7 @@ public function setCpp_header_border_color($cpp_header_border_color = null) } /** * Get cpp_header_back_color value - * @return cpp_header_back_color + * @return string|null */ public function getCpp_header_back_color() { @@ -1233,7 +1260,7 @@ public function getCpp_header_back_color() } /** * Set cpp_header_back_color value - * @param cpp_header_back_color $cpp_header_back_color + * @param string $cpp_header_back_color * @return \PayPal\StructType\SetExpressCheckoutRequestDetailsType */ public function setCpp_header_back_color($cpp_header_back_color = null) @@ -1247,7 +1274,7 @@ public function setCpp_header_back_color($cpp_header_back_color = null) } /** * Get cpp_payflow_color value - * @return cpp_payflow_color + * @return string|null */ public function getCpp_payflow_color() { @@ -1255,7 +1282,7 @@ public function getCpp_payflow_color() } /** * Set cpp_payflow_color value - * @param cpp_payflow_color $cpp_payflow_color + * @param string $cpp_payflow_color * @return \PayPal\StructType\SetExpressCheckoutRequestDetailsType */ public function setCpp_payflow_color($cpp_payflow_color = null) @@ -1269,7 +1296,7 @@ public function setCpp_payflow_color($cpp_payflow_color = null) } /** * Get cpp_cart_border_color value - * @return cpp_cart_border_color + * @return string|null */ public function getCpp_cart_border_color() { @@ -1277,7 +1304,7 @@ public function getCpp_cart_border_color() } /** * Set cpp_cart_border_color value - * @param cpp_cart_border_color $cpp_cart_border_color + * @param string $cpp_cart_border_color * @return \PayPal\StructType\SetExpressCheckoutRequestDetailsType */ public function setCpp_cart_border_color($cpp_cart_border_color = null) @@ -1291,7 +1318,7 @@ public function setCpp_cart_border_color($cpp_cart_border_color = null) } /** * Get cpp_logo_image value - * @return cpp_logo_image + * @return string|null */ public function getCpp_logo_image() { @@ -1299,7 +1326,7 @@ public function getCpp_logo_image() } /** * Set cpp_logo_image value - * @param cpp_logo_image $cpp_logo_image + * @param string $cpp_logo_image * @return \PayPal\StructType\SetExpressCheckoutRequestDetailsType */ public function setCpp_logo_image($cpp_logo_image = null)